Files
SnowLuma/.pnpm-store/v11/files/57/4491a685ede43aa24f09a888786b6ffad771dbacca4e9fac9315cb7c10feb6f9299d787eb94570ee830f717b0e55e5ce53e459fd675309beb4ea8f34ed2c34
TanTan 2a69b23b47
Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

19 lines
889 B
Plaintext

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<AnyRouteMatch>;
preload?: boolean;
forceStaleReload?: boolean;
onReady?: () => Promise<void>;
updateMatch: UpdateMatchFn;
sync?: boolean;
}): Promise<Array<MakeRouteMatch>>;
export type RouteComponentType = 'component' | 'errorComponent' | 'pendingComponent' | 'notFoundComponent';
export declare function loadRouteChunk(route: AnyRoute, componentTypesToLoad?: Array<RouteComponentType>): Promise<void> | undefined;
export declare function routeNeedsPreload(route: AnyRoute): boolean;
export declare const componentTypes: Array<RouteComponentType>;