import { AnyContext, AnyRoute, AnyRouter, Constrain, ConstrainLiteral, FileBaseRouteOptions, FileRoutesByPath, LazyRouteOptions, RegisteredRouter, ResolveParams, RouteById, RouteConstraints, RouteIds, RouteLoaderFn, UpdatableRouteOptions } from '@tanstack/router-core'; import { LoaderDataRoute } from './loader-data'; import { LoaderDepsRoute } from './loader-deps'; import { MatchRoute } from './match'; import { ParamsRoute } from './params'; import { Route } from './route'; import { RouteContextRoute } from './route-context'; import { SearchRoute } from './search'; export declare function createFileRoute(path: TFilePath): FileRoute['createRoute']; /** @deprecated It's no longer recommended to use the `FileRoute` class directly. Instead, use `createFileRoute('/path/to/file')(options)` to create a file route. */ export declare class FileRoute { path: TFilePath; silent?: boolean; constructor(path: TFilePath, _opts?: { silent: boolean; }); createRoute: , TRouteContextFn = AnyContext, TBeforeLoadFn = AnyContext, TLoaderDeps extends Record = {}, TLoaderFn = undefined, TChildren = unknown>(options?: FileBaseRouteOptions & UpdatableRouteOptions) => Route; } /** @deprecated It's recommended not to split loaders into separate files. Instead, place the loader function in the the main route file, inside the `createFileRoute('/path/to/file)(options)` options. */ export declare function FileRouteLoader(_path: TFilePath): (loaderFn: Constrain>) => TLoaderFn; export declare class LazyRoute { options: { id: string; } & LazyRouteOptions; constructor(opts: { id: string; } & LazyRouteOptions); match$: MatchRoute; match: MatchRoute; routeContext$: RouteContextRoute; routeContext: RouteContextRoute; search$: SearchRoute; search: SearchRoute; params$: ParamsRoute; params: ParamsRoute; loaderDeps$: LoaderDepsRoute; loaderDeps: LoaderDepsRoute; loaderData$: LoaderDataRoute; loaderData: LoaderDataRoute; } export declare function createLazyRoute>(id: ConstrainLiteral>): (opts: LazyRouteOptions) => LazyRoute; export declare function createLazyFileRoute(id: TFilePath): (opts: LazyRouteOptions) => LazyRoute;