import type { COSEALG } from '../helpers/cose.js'; /** * Base error class that helps disambiguate SimpleWebAuthn library errors from other library errors */ export declare class SimpleWebAuthnError extends Error { code: SimpleWebAuthnErrorCode; constructor({ message, code, cause }: { message: string; code: SimpleWebAuthnErrorCode; cause?: Error; }); } export declare class PQCNotSupportedError extends SimpleWebAuthnError { constructor(alg: COSEALG); } export type SimpleWebAuthnErrorCode = 'BAD_ARGUMENT' | 'RUNTIME_NO_PQC_SUPPORT' | 'CERTIFICATE_PATH_VERIFICATION_FAILED' | 'UNEXPECTED_RP_ID' | 'UNEXPECTED_ORIGIN'; //# sourceMappingURL=index.d.ts.map