export declare const PARA_PASSKEY_ERROR_CODES: readonly ["USER_CANCELLED", "TIMED_OUT", "BAD_CONFIGURATION", "NOT_CONFIGURED", "RP_ID_MISMATCH", "NOT_SUPPORTED", "NO_CREDENTIALS", "REQUEST_FAILED", "INTERRUPTED", "UNKNOWN"];
export type ParaPasskeyErrorCode = (typeof PARA_PASSKEY_ERROR_CODES)[number];
export declare class ParaPasskeyError extends Error {
    readonly code: ParaPasskeyErrorCode;
    readonly platform: 'ios' | 'android' | 'unknown';
    readonly suggestion: string;
    readonly docsUrl: string;
    constructor(params: {
        code: ParaPasskeyErrorCode;
        message: string;
        platform: 'ios' | 'android' | 'unknown';
        suggestion: string;
        docsUrl: string;
        cause?: unknown;
    });
}
export declare function mapPasskeyError(error: unknown): ParaPasskeyError;
export declare function logPasskeyDiagnostic(error: ParaPasskeyError, operation: string, relyingPartyId: string): void;
