import type { PublicKeyCredentialDescriptor } from './PublicKeyCredentialDescriptor'; /** * @type PublicKeyCredentialRequestOptions: Options for requesting a WebAuthn credential (returned by authenticate/start). * * @property challenge: Base64url-encoded challenge. * - **Max Length:** 512 * * @property timeout: Timeout value in milliseconds. * * @property rpId: The ID of the relying party. * - **Max Length:** 256 * * @property allowCredentials: Allowed credentials for authentication. * * @property userVerification: The level of requirement for user verification. * * @property extensions: WebAuthn extensions. * */ export type PublicKeyCredentialRequestOptions = { challenge?: string; timeout?: number; rpId?: string; allowCredentials?: Array; userVerification?: PublicKeyCredentialRequestOptionsUserVerificationEnum; extensions?: { [key: string]: any; }; } & { [key: string]: any; }; export type PublicKeyCredentialRequestOptionsUserVerificationEnum = 'required' | 'preferred' | 'discouraged';