import { createMemoryHistory, type RouteLocationNormalized } from 'vue-router'; import type { Ref } from 'vue'; import type { BeforeEachHandlerArgs, CtxHydration, RouteContextLike } from './types/client.ts'; export type { BeforeEachHandlerArgs, CtxHydration, RouteContextLike }; export declare const isServer: boolean; export declare const createHistory: typeof createMemoryHistory; export declare const serverRouteContext: unique symbol; export declare const routeLayout: unique symbol; export declare function useRouteContext(): T; export declare function createBeforeEachHandler({ routeMap, ctxHydration }: BeforeEachHandlerArgs, layout: Ref): (to: RouteLocationNormalized) => Promise; interface HydratedRoute { id: string; path: string; loader: () => Promise>; component: () => Promise>; [key: string]: unknown; } export declare function hydrateRoutes(from: Record Promise>>): Promise; export declare function jsonDataFetch(path: string): Promise; //# sourceMappingURL=client.d.ts.map