/** * @module webauthn * @description WebAuthn-based biometric authentication implementation */ import type { AuthChallenge, AuthResult, DeviceInfo, BiometricSettings } from '../../types/index.js'; import type { PublicKeyCredentialCreationOptionsJSON, PublicKeyCredentialRequestOptionsJSON, RegistrationResponseJSON } from '@simplewebauthn/browser'; /** * Initialize WebAuthn for a new device * @param settings Biometric settings for the device * @returns Device registration options */ export declare function initializeWebAuthn(settings: BiometricSettings): Promise; /** * Register a new device with WebAuthn * @param options WebAuthn registration options * @returns Device registration response */ export declare function registerDevice(options: PublicKeyCredentialCreationOptionsJSON): Promise; /** * Generate an authentication challenge * @param deviceInfo Device to authenticate with * @returns Authentication challenge */ export declare function generateChallenge(deviceInfo: DeviceInfo): Promise; /** * Authenticate using WebAuthn * @param challenge Authentication challenge * @returns Authentication result */ export declare function authenticate(challenge: PublicKeyCredentialRequestOptionsJSON): Promise;