export declare function normalizeAppBasePath(value: string | undefined): string; export declare function getConfiguredAppBasePath(): string; /** * SSR-aware variant of getConfiguredAppBasePath. * * In SSR builds (Vite's server-side bundle), `process.env` may not carry * VITE_* variables that were only statically replaced at build time. As a * fallback this variant also checks `import.meta.env` (available inside a * Vite SSR build) including `BASE_URL`, which Vite sets from the `base` * config option. Used by ssr-handler.ts where the Nitro server bundle is * built with Vite and the env may be delivered via import.meta rather than * process.env. */ export declare function getAppBasePathFromViteEnv(): string; /** * Strip the configured app base path prefix from a pathname. * * Returns "/" when the pathname equals the base path exactly, the suffix * when it starts with `${basePath}/`, or the original pathname unchanged * when no prefix match is found. */ export declare function stripAppBasePath(pathname: string, basePath?: string): string; export declare function withConfiguredAppBasePath(baseUrl: string): string; //# sourceMappingURL=app-base-path.d.ts.map