/** * URL-first tenant code resolution for admin, kiosk, and customer PWAs. * * Tenant code is always the first path segment: `/{tenantCode}/...` * Never fall back to `default`, `test`, or the authenticated user's home tenant. */ /** First-segment path prefixes that are routes, not tenant codes. */ export declare const NON_TENANT_PATH_SEGMENTS: Set; export declare class TenantPathResolutionError extends Error { constructor(message: string); } export declare function getTenantCodeFromPath(pathname: string): string | null; export declare function resolveBrowserPathname(pathname?: string): string; export declare function requireTenantCodeFromPath(pathname?: string): string; /** React Router `:tenant` param — throws instead of falling back to default/test. */ export declare function coerceRouteTenantCode(tenantCode: string | undefined): string; export declare function isDevDashboardApiEndpoint(endpoint: string): boolean; export declare function withTenantInApiPath(endpoint: string, tenantCode: string): string; //# sourceMappingURL=tenantPathResolution.d.ts.map