import type { Rpc, SolanaRpcApi } from "@solana/kit"; import { type Base64URLString, type AuthenticationResponseJSON } from "./webauthn.js"; export declare const PLACEHOLDER_CREDENTIAL_ID_LENGTH = 16; type AssertionLike = Pick; export type PlaceholderRecoveryOptions = { /** Gates the credential id; recovers a placeholder locally when no `rpc` is given. */ allowList?: ReadonlySet; /** Recovers a placeholder on-chain. Takes precedence over `allowList` for recovery. */ rpc?: Rpc; }; export declare function resolveCredentialId(response: T, { allowList, rpc }: PlaceholderRecoveryOptions): Promise; export {}; //# sourceMappingURL=recoverCredentialId.d.ts.map