type ApiErrorType = 'policy_violation' | 'permission_denied' | 'not_found' | 'unknown' | 'already_created' | 'passkey_not_allowed' | 'fetch_error' | 'unsupported_chain_id' | 'insufficient_credit' | 'invalid_nonce' | 'rate_limit_exceeded' | 'recipient_not_allowed'; type CreateWalletErrorType = 'already_created' | 'passkey_not_allowed'; type RecoverWalletErrorType = 'wallet_not_found' | 'passkey_not_allowed' | 'passkey_not_found'; type TransferErrorType = 'transfer_failed' | 'passkey_not_allowed' | 'not_initialized'; type ExecuteOperationErrorType = 'not_initialized'; type DistributionErrorType = 'no_enough_cool_time' | 'exceed_max_distribute_amount' | 'insufficient_funds_in_distribution_request' | 'distribute_invalid_request' | 'generate_secret_failed'; type SDKErrorType = CreateWalletErrorType | RecoverWalletErrorType | TransferErrorType | ExecuteOperationErrorType | DistributionErrorType | ApiErrorType; export declare class PrexSDKError extends Error { readonly error: SDKErrorType; readonly details: string; constructor(error: SDKErrorType, details: string); static fromError(error: Error): PrexSDKError; } export declare const normalizeErrorFn: (fallbackMessage: string) => (error: unknown) => Error; export {}; //# sourceMappingURL=errors.d.ts.map