import { BiometricAuthAdapter, BiometricAuthOptions, BiometricAuthResult, BiometryType } from '../core/types.js'; /** * Electron desktop adapter. * - macOS: Touch ID via Electron's `systemPreferences` (NOT the removed `@electron/remote`). * - Windows: Windows Hello via the WebAuthn platform authenticator. * * NOTE: `systemPreferences` is only reachable where the `electron` module is available * (main process, or a renderer with node integration). In a sandboxed renderer * (contextIsolation, no nodeIntegration) Touch ID is unavailable here — expose it from * the main process over IPC in that setup. */ export declare class ElectronAdapter implements BiometricAuthAdapter { platform: string; private windowsHelloAvailable; /** * Resolve Electron's `systemPreferences` without `@electron/remote`. Returns null when * the `electron` module is not reachable. `typeof require` is ESM-safe (it yields * 'undefined' instead of throwing when `require` is not defined). */ private getSystemPreferences; private isElectronRuntime; private checkWindowsHello; isAvailable(): Promise; getSupportedBiometrics(): Promise; private authenticateWithWindowsHello; authenticate(options?: BiometricAuthOptions): Promise; deleteCredentials(): Promise; hasCredentials(): Promise; }