Rocky_Mountain_Vending/.pnpm-store/v10/files/dc/9b29dcccbf4c072a6d48cd6dde0d345f59bcf273379ca56bc99f84fd721d6b251fa340079b89a6bf1d31f7a06032fa640eb2d24429a0a7a80a9798f433554b
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

27 lines
1 KiB
Text

import type { RouteMatch } from '../route-matches/route-match';
import type { RouteDefinition } from '../route-definitions/route-definition';
import type { Params } from '../request/params';
type RouteMatchResult = {
params?: Params;
};
export declare class RouteMatcher<D extends RouteDefinition = RouteDefinition> {
readonly definition: D;
private readonly dynamic?;
/**
* When set, this is an array of all the other matchers that are duplicates of
* this one. This is used by the managers to warn the users about possible
* duplicate matches on routes.
*/
duplicated?: Array<RouteMatcher>;
constructor(definition: D);
/**
* Identity returns the identity part of the matcher. This is used to compare
* a unique matcher to another. This is also used when sorting dynamic routes,
* so it must contain the pathname part.
*/
get identity(): string;
get isDynamic(): boolean;
match(pathname: string): RouteMatch<D> | null;
test(pathname: string): RouteMatchResult | null;
}
export {};