interface Route { path: string; id: string; children?: Route[]; page?: boolean; $component?: any; $HEAD?: any; $GET?: any; $POST?: any; $PUT?: any; $PATCH?: any; $DELETE?: any; } declare module "vinxi/routes" { interface Register { route: { path: string; children?: Route[]; }; } } export declare const pageRoutes: Route[]; export declare function matchAPIRoute(path: string, method: string): { handler: any; params: Record | undefined; isPage: boolean; } | undefined; export {};