export interface ParsedRoute { view: 'dashboard' | 'list' | 'create' | 'edit' | 'notFound' | 'search' | 'logout'; model?: string; id?: string; } export interface RouteEntry { pattern: string[]; view: string; } export declare const BUILTIN_ROUTES: RouteEntry[]; export declare function matchRoute(pathname: string, basePath: string, routes: RouteEntry[]): { view: string; model?: string; id?: string; }; export declare function parseRoute(pathname: string, basePath: string): ParsedRoute;