export interface SilentLoginOptions { /** * The URL to navigate the iframe to for silent login. * Defaults to `${baseURL}/bff/silent-login`. */ authURL?: string; /** * The base URL of the microservice BFF. * Used to construct the default authURL. */ baseURL?: string; /** * The URL to fetch auth info from before initiating silent login. * Defaults to `/bff/authInfo`. */ authInfoURL?: string; /** * Timeout in milliseconds for the silent login iframe to respond. * Defaults to 60000 (1 minute). */ timeout?: number; /** * An AbortSignal to cancel the silent login. */ signal?: AbortSignal; } export declare class TokenServerAuthError extends Error { data: any; constructor(message: string, data: any); } /** * Performs a silent login using a hidden iframe and postMessage protocol. * * 1. Fetches auth info from the authInfoURL endpoint * 2. Creates a hidden iframe pointed at the silent login URL * 3. Waits for a postMessage response from the iframe * 4. Resolves on success, rejects with TokenServerAuthError on failure * * This function has no React, axios, or other framework dependencies. */ export declare function silentLogin(options?: SilentLoginOptions): Promise; //# sourceMappingURL=silent-login.d.ts.map