/** * Runtime auth bridge URL resolution — shared across all product app shells. * * All Burdenoff products use a single central bridge at app.burdenoff.com * (or alphaapp.burdenoff.com for alpha) to share auth state across different * TLDs via a hidden iframe + postMessage. * * This module resolves the correct bridge config based on the current hostname, * following the same pattern as `resolveGatewayUrls()`. * * @module @burdenoff/fe-libs/shared/config/authBridgeUrls */ export interface RuntimeAuthBridgeConfig { url: string; allowedOrigins: string; debug: boolean; } /** * Resolve runtime auth bridge configuration from the current hostname. * * Priority: * 1. Known production domains (all products) -> production bridge (app.burdenoff.com) * 2. Known alpha/staging domains (all products) -> alpha bridge (alphaapp.burdenoff.com) * 3. Everything else -> local development bridge (app.local.burdenoff.com) */ export declare function resolveAuthBridgeConfig(): RuntimeAuthBridgeConfig; /** * Auth bridge config for an app shell, desktop-aware. * * Desktop (Electron) shells must NOT stand up the cross-TLD iframe bridge: the * window is served from a custom scheme, the hidden iframe can never share a * cookie jar with it, and the desktop shell owns its own session. Returning * `undefined` there mirrors the per-shell `resolveAppAuthBridgeConfig()` that * products implement today (see vibecontrols-app `src/electronRuntime.ts`). */ export declare function resolveShellAuthBridgeConfig(): RuntimeAuthBridgeConfig | undefined; //# sourceMappingURL=authBridgeUrls.d.ts.map