export interface LogoutState { /** True while a logout is in flight; disables the menu item. */ isLoggingOut: boolean; /** Set when an attempt failed and the user is still signed in. */ error: string | null; } export interface LogoutStore { set(next: LogoutState): void; subscribe(listener: () => void): () => void; getSnapshot(): LogoutState; } export declare function createLogoutStore(): LogoutStore;