import { PageContextServer } from "../index.mjs"; //#region src/__internal/shared.d.ts interface RenderContext { pageContext: PageContextServer; Page: unknown; Head?: unknown; Layout?: unknown; pageTitleTag: string; serializedContext: string; assets: { cssLinks: string; jsPreloads: string; entryClient: string; }; nonce?: string; } declare function matchRoute(urlPathname: string, routes: typeof import('virtual:vike-lite/routes').routes): { route: any; routeParams: Record; } | null; declare const BASE_URL: string; /** * Remove the base path from a pathname (e.g. `location.pathname` on the client, * or the incoming request pathname on the server). * Returns the pathname unchanged if it doesn't match the base. */ declare function stripBase(pathname: string): string; /** * Prepend the base path to an absolute, root-relative path (e.g. '/about'). */ declare function prependBase(pathname: string): string; //#endregion export { BASE_URL, RenderContext, matchRoute, prependBase, stripBase };