UNPKG

vike

Version:

The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.

15 lines (14 loc) 688 B
export { resolveRouteFunction }; export { assertRouteParams }; export { assertSyncRouting }; export { warnDeprecatedAllowKey }; import { PageContextUrlInternal } from '../getPageContextUrlComputed.js'; declare function resolveRouteFunction(routeFunction: Function, pageContext: PageContextUrlInternal, routeDefinedAtString: string): Promise<null | { precedence: number | null; routeParams: Record<string, string>; }>; declare function assertSyncRouting(res: unknown, errPrefix: string): void; declare function warnDeprecatedAllowKey(): void; declare function assertRouteParams<T>(result: T, errPrefix: string): asserts result is T & { routeParams?: Record<string, string>; };