import { BaseFileSystemRouter, FileSystemRouterConfig } from 'vinxi/fs-router'; import { AppOptions } from 'vinxi'; import { PageFsRoute, ServerFsRoute } from '../types/index.js'; interface PageInfo { isMd?: boolean; isLayout?: boolean; componentPick?: string[]; dataPick?: string[]; } interface PageFsRouterConfig extends FileSystemRouterConfig { base: string; } export declare class PagesFsRouter extends BaseFileSystemRouter { config: PageFsRouterConfig; srcToPageInfo: Record; constructor(config: PageFsRouterConfig, router: any, app: AppOptions); toPath(src: string): string; toRoute(src: string): PageFsRoute | null; getRoutes(): Promise; updateRoute(src: string): Promise; reload: (route: any) => void; isDataFile(src: string): boolean; } interface ServerFsRouterConfig extends FileSystemRouterConfig { middlewaresDir?: string; base: string; } export declare class ServerFsRouter extends BaseFileSystemRouter { config: ServerFsRouterConfig; constructor(config: ServerFsRouterConfig, router: any, app: AppOptions); isMiddleware(src: string): boolean; getHttpMethod(src: string): string | undefined; glob(): any; toPath(src: string): string; toRoute(src: string): ServerFsRoute | null; } export {};