export declare const ATHENA_EMBEDDED_AUTH_BASE = "/api/athena/auth"; export declare const ATHENA_LEGACY_AUTH_BASE = "/api/auth"; export type AthenaObservedAuthRequest = { path: string; status: number | null; }; export type AthenaAuthRoutingTraceFindingCode = "AUTH_ROUTING_SPLIT_DETECTED" | "AUTH_MULTIPLE_ROUTING_AUTHORITIES" | "AUTH_CANONICAL_ROUTE_UNAVAILABLE"; export interface AthenaAuthRoutingTraceInspection { canonicalBase: string | null; code: AthenaAuthRoutingTraceFindingCode | null; observedBases: string[]; severity: "error" | null; summary: string | null; } interface CanonicalAuthBase { identity: string; origin: string | null; pathname: string; } export declare function normalizeObservedRequestHref(href: string, pageOrigin?: string | null): string | null; export declare function parseCanonicalAuthBase(value: string | null | undefined, pageOrigin?: string | null): CanonicalAuthBase | null; export declare function shouldRecordAuthDebugFetch(href: string, canonicalBase: string | null | undefined, pageOrigin?: string | null): boolean; export declare function inspectObservedAuthRouting(input: { canonicalBase: string | null | undefined; pageOrigin?: string | null; requests: readonly AthenaObservedAuthRequest[]; }): AthenaAuthRoutingTraceInspection; export {};