import { AuthProvider, User, ClientConfig } from '@bounded-sh/core'; import { LoginOptions, LogoutOptions } from './auth'; export declare function init(newConfig: Partial): Promise; export declare function onAuthStateChanged(callback: (user: User | null) => void): () => void; export declare function onAuthLoadingChanged(callback: (loading: boolean) => void): () => void; export declare function setAuthLoading(loading: boolean): void; export declare function getAuthLoading(): boolean; export declare function login(options?: LoginOptions): Promise; export type { LoginOptions, LogoutOptions }; export declare function logout(options?: LogoutOptions): Promise; export declare function setCurrentUser(user: User | null): void; export declare function getCurrentUser(): User | null; /** @internal Snapshot/restore surface for transactional auth-provider switches. */ export declare function getAuthProviderInstance(): AuthProvider | null; export declare function setAuthProviderInstance(provider: AuthProvider | null): void;