import { ILOidcLocation } from './location'; import { StringMap } from './types.js'; export declare const oidcLogoutTokens: { access_token: string; refresh_token: string; }; export declare const destroyAsync: (oidc: any) => (status: any) => Promise; /** * Clears the local OIDC session (tokens, user info, service-worker storage) * and broadcasts `logout_from_same_tab` to any other OIDC clients registered * in the same tab. * * It is intentionally decoupled from `logoutAsync`: callers that want to drop * the local session without contacting the identity provider — for example a * service-worker-only flow, a SPA-only logout, or an error-recovery path — * can use this helper directly. `logoutAsync` itself calls it as the very * last step, after the browser navigation to `end_session_endpoint` has been * scheduled, so that the React tree never observes a transient "no tokens" * state before the page is unloaded. */ export declare const clearSessionAsync: (oidc: any, oidcDatabase: any) => () => Promise; export declare const logoutAsync: (oidc: any, oidcDatabase: any, fetch: any, console: any, oicLocation: ILOidcLocation) => (callbackPathOrUrl?: string | null | undefined, extras?: StringMap) => Promise; //# sourceMappingURL=logout.d.ts.map