import type { AccountType } from '../types'; declare class AccountError extends Error { private readonly _message; private readonly _context; private readonly _errorType; private readonly _traceId; constructor(params?: { message?: string; context?: any; errorType?: string; traceId?: string; }); get message(): string; get context(): any; get errorType(): string; get traceId(): string; } declare class Eip7702AccountMustHaveEoaError extends AccountError { constructor(params?: { context?: any; errorType?: string; traceId?: string; }); } declare class ExistingEip7702AccountsNotSupportedError extends AccountError { constructor(params?: { context?: any; errorType?: string; traceId?: string; }); } declare class EoaAccountMustHaveAccountError extends AccountError { constructor(params?: { context?: any; errorType?: string; traceId?: string; }); } declare class FactoryArgsNotAvailableError extends AccountError { constructor(params?: { context?: any; errorType?: string; traceId?: string; }); } declare class SmartSessionsNotEnabledError extends AccountError { constructor(params?: { context?: any; errorType?: string; traceId?: string; }); } declare class SigningNotSupportedForAccountError extends AccountError { constructor(params?: { context?: any; errorType?: string; traceId?: string; }); } declare class Eip7702NotSupportedForAccountError extends AccountError { constructor(account: AccountType, params?: { context?: any; errorType?: string; traceId?: string; }); } declare class AccountConfigurationNotSupportedError extends AccountError { constructor(message: string, account: AccountType, params?: { context?: any; errorType?: string; traceId?: string; }); } declare class WalletClientNoConnectedAccountError extends AccountError { constructor(params?: { context?: any; errorType?: string; traceId?: string; }); } declare class ModuleInstallationNotSupportedError extends AccountError { constructor(account: AccountType, params?: { context?: any; errorType?: string; traceId?: string; }); } declare class EoaSigningNotSupportedError extends AccountError { constructor(method: string, params?: { context?: any; errorType?: string; traceId?: string; }); } declare class EoaSigningMethodNotConfiguredError extends AccountError { constructor(method: string, params?: { context?: any; errorType?: string; traceId?: string; }); } declare class OwnersFieldRequiredError extends AccountError { constructor(params?: { context?: any; errorType?: string; traceId?: string; }); } declare class Eip712DomainNotAvailableError extends AccountError { constructor(message: string); } declare function isAccountError(error: Error): error is AccountError; export { isAccountError, AccountError, Eip712DomainNotAvailableError, Eip7702AccountMustHaveEoaError, ExistingEip7702AccountsNotSupportedError, EoaAccountMustHaveAccountError, FactoryArgsNotAvailableError, SmartSessionsNotEnabledError, SigningNotSupportedForAccountError, Eip7702NotSupportedForAccountError, AccountConfigurationNotSupportedError, WalletClientNoConnectedAccountError, ModuleInstallationNotSupportedError, EoaSigningNotSupportedError, EoaSigningMethodNotConfiguredError, OwnersFieldRequiredError, }; //# sourceMappingURL=error.d.ts.map