export interface Route { path: string; filePath: string; params: string[]; isDynamic: boolean; isCatchAll: boolean; isLayout: boolean; isLoading: boolean; isError: boolean; isNotFound: boolean; isPage: boolean; } export interface RouteTree { [key: string]: Route | RouteTree; } export declare class FileRouter { private appDir; private routes; constructor(appDir: string); buildRoutes(): Promise; private createRoute; getRoute(pathname: string): Route | null; private matchDynamicRoute; getAllRoutes(): Route[]; getRouteParams(pathname: string, route: Route): Record; } //# sourceMappingURL=file-router.d.ts.map