import { BiometricAuthAdapter, BiometricAuthConfiguration, BiometricAuthOptions, BiometricAuthResult, BiometricAuthState, BiometryType } from './types.js'; export declare class BiometricAuthCore { private static instance; private config; private sessionTimeoutId; private adapters; private currentAdapter; private state; private platformDetector; private subscribers; private initPromise; private constructor(); /** * Ensures the adapter is initialized (or re-initialized) before use. */ private ensureInitialized; static getInstance(): BiometricAuthCore; private initialize; private loadAdapter; configure(config: Partial): void; registerAdapter(name: string, adapter: BiometricAuthAdapter): void; isAvailable(): Promise; getSupportedBiometrics(): Promise; authenticate(options?: BiometricAuthOptions): Promise; deleteCredentials(): Promise; hasCredentials(): Promise; logout(): void; getState(): BiometricAuthState; /** * Whether a local session is still considered valid. * * NOTE: this is a client-side convenience gate (UX), NOT a security boundary. * Gate sensitive operations with server-verified authentication. */ isAuthenticated(): boolean; subscribe(callback: (state: BiometricAuthState) => void): () => void; private updateState; requireAuthentication(callback: () => void | Promise, options?: BiometricAuthOptions): Promise; withAuthentication(callback: () => T | Promise, options?: BiometricAuthOptions): Promise; }