import { ParsedLocation } from './location.js'; import { AnyRoute } from './route.js'; import { AnyRouteMatch, MakeRouteMatch } from './Matches.js'; import { AnyRouter, UpdateMatchFn } from './router.js'; export declare function loadMatches(arg: { router: AnyRouter; location: ParsedLocation; matches: Array; preload?: boolean; forceStaleReload?: boolean; onReady?: () => Promise; updateMatch: UpdateMatchFn; sync?: boolean; }): Promise>; export type RouteComponentType = 'component' | 'errorComponent' | 'pendingComponent' | 'notFoundComponent'; export declare function loadRouteChunk(route: AnyRoute, componentTypesToLoad?: Array): Promise | undefined; export declare function routeNeedsPreload(route: AnyRoute): boolean; export declare const componentTypes: Array;