import { BiometricAuthAdapter, BiometricAuthOptions, BiometricAuthResult, BiometryType } from '../types/index.js'; /** * Web platform adapter backed by the WebAuthn API. * * SECURITY MODEL: this adapter performs the client-side WebAuthn ceremony and returns the * resulting attestation/assertion in `result.webAuthnResponse`. A successful ceremony is * NOT proof of identity on its own — the relying-party SERVER must verify the response * against the challenge it issued (see the companion `webauthn-server-buildkit`). Always * pass a server-issued `challenge`; a locally generated challenge cannot be verified. */ export declare class WebAdapter implements BiometricAuthAdapter { platform: string; private rpId; private rpName; constructor(); isAvailable(): Promise; getSupportedBiometrics(): Promise; authenticate(options?: BiometricAuthOptions): Promise; deleteCredentials(): Promise; hasCredentials(): Promise; private getAssertion; private createCredential; private toRegistrationJSON; private toAuthenticationJSON; private resolveChallenge; /** Convert an explicit input to a buffer. Strings are treated as base64url. */ private toBuffer; private resolveTimeout; private normalizeAttachment; private getStoredCredentialIds; private saveCredentialId; }