import type { Rpc, SolanaRpcApi } from "@solana/kit"; import { type AuthenticationResponseJSON } from "./webauthn.js"; /** Options for `authenticatePasskey`. */ export type AuthenticatePasskeyOptions = { /** Base64url compressed secp256r1 public keys. The tapped credential id must be in it; recovers a placeholder id locally when no `rpc` is given. */ allowList?: ReadonlySet; /** Recovers a placeholder id on-chain (preferred over `allowList` for recovery). */ rpc?: Rpc; /** Defaults to `window.location.hostname`. */ rpId?: string; /** `allowCredentials` id when known. */ credentialId?: string; /** Cancels the tap prompt. Aborting rejects with the signal's reason, an `AbortError` by default. */ signal?: AbortSignal; }; /** NFC tap via browser WebAuthn. */ export declare function authenticatePasskey(challenge: string, options?: AuthenticatePasskeyOptions): Promise; //# sourceMappingURL=authenticate.d.ts.map