import type { ArkmeAuthSnapshot, ArkmeClientConfig } from '../types.js'; export interface ArkmeAuthStoreSnapshot { auth: ArkmeAuthSnapshot | undefined; config: ArkmeClientConfig | undefined; checked: boolean; busy: boolean; error: string; revision: number; } export declare class ArkmeAuthStore { private state; private inFlight; private authGeneration; private readonly listeners; readonly getSnapshot: () => ArkmeAuthStoreSnapshot; readonly subscribe: (listener: () => void) => (() => void); setAuth(auth: ArkmeAuthSnapshot): void; /** Restore only a broker-validated same-account display session; Host APIs still authorize every action. */ restoreWindowSession(auth: ArkmeAuthSnapshot, config?: ArkmeClientConfig): void; setError(error: string): void; refresh(): Promise; private publish; } export declare const arkmeAuthStore: ArkmeAuthStore; /** The local Host login is shared by tabs and browsers; reconcile on re-entry. */ export declare function startArkmeAuthRevalidation(): () => void; //# sourceMappingURL=auth-store.d.ts.map