Rocky_Mountain_Vending/.pnpm-store/v10/files/41/91e0e09bff15a2bb63ca676e1b02a10d363345097ec469f5c6bedab3046530f254eabc6c962f524ccc7006c2a40be31b92a48749e94fbdd58a18afce29ae54
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

39 lines
1.8 KiB
Text

import type { RouteKind } from '../route-kind';
import type { RouteMatch } from '../route-matches/route-match';
import type { RouteDefinition } from '../route-definitions/route-definition';
import type { RouteMatcherProvider } from '../route-matcher-providers/route-matcher-provider';
import type { RouteMatcher } from '../route-matchers/route-matcher';
import type { MatchOptions, RouteMatcherManager } from './route-matcher-manager';
interface RouteMatchers {
static: ReadonlyArray<RouteMatcher>;
dynamic: ReadonlyArray<RouteMatcher>;
duplicates: Record<string, ReadonlyArray<RouteMatcher>>;
}
export declare class DefaultRouteMatcherManager implements RouteMatcherManager {
private readonly providers;
protected readonly matchers: RouteMatchers;
private lastCompilationID;
/**
* When this value changes, it indicates that a change has been introduced
* that requires recompilation.
*/
private get compilationID();
private waitTillReadyPromise?;
waitTillReady(): Promise<void>;
private previousMatchers;
reload(): Promise<void>;
push(provider: RouteMatcherProvider): void;
test(pathname: string, options: MatchOptions): Promise<boolean>;
match(pathname: string, options: MatchOptions): Promise<RouteMatch<RouteDefinition<RouteKind>> | null>;
/**
* This is a point for other managers to override to inject other checking
* behavior like duplicate route checking on a per-request basis.
*
* @param pathname the pathname to validate against
* @param matcher the matcher to validate/test with
* @returns the match if found
*/
protected validate(pathname: string, matcher: RouteMatcher, options: MatchOptions): RouteMatch | null;
matchAll(pathname: string, options: MatchOptions): AsyncGenerator<RouteMatch<RouteDefinition<RouteKind>>, null, undefined>;
}
export {};