/** Normalize and resolve the primary API base URL to use. */ export declare const resolveApiBase: (preferred?: string) => string; /** * Resolve the LICENSE-service API base. The primary base * (api.cdkinsights.dev/analysis) fronts the AI service; license-service * routes (/v1/scans, /v1/telemetry/events) live behind the sibling * `/license` mapping on the same custom domain. Posting them to the * analysis base 404s — which is exactly what silently broke scan * uploads and telemetry in production until 1.42.2. * * Resolution order: * 1. CDK_INSIGHTS_LICENSE_API_URL env (build-time baked or runtime) * 2. primary base with a trailing `/analysis` swapped for `/license` * 3. the primary base unchanged (direct-endpoint setups, e.g. dev * stacks where one URL serves everything) */ export declare const resolveLicenseApiBase: (preferred?: string) => string; /** * Utility exported for tests. */ export declare const normalizeApiBase: (value?: string | null) => string | undefined;