interface WalletProviderErrorInterface extends Partial { message: string; code?: number; } declare class WalletProviderError extends Error { code?: number; constructor(args: WalletProviderErrorInterface); toJSON(): WalletProviderErrorInterface; } declare class LedgerLostConnectionError extends WalletProviderError { constructor({ ...args }?: Partial); } declare class TransportNotSupportedError extends WalletProviderError { constructor({ ...args }?: Partial); } declare class LedgerReplugError extends WalletProviderError { constructor({ ...args }?: Partial); } declare class LedgerDisconnectedError extends WalletProviderError { constructor({ ...args }?: Partial); } declare class LedgerInUseByAnotherApp extends WalletProviderError { constructor({ ...args }?: Partial); } declare class LedgerNotFoundError extends WalletProviderError { constructor({ ...args }?: Partial); } declare class LedgerDeviceLockedError extends WalletProviderError { constructor({ ...args }?: Partial); } declare class LedgerFilecoinAppBadVersionError extends WalletProviderError { constructor({ ...args }?: Partial); } declare class LedgerFilecoinAppNotOpenError extends WalletProviderError { constructor({ ...args }?: Partial); } declare class LedgerDeviceBusyError extends WalletProviderError { constructor({ ...args }?: Partial); } declare class InvalidParamsError extends WalletProviderError { constructor({ ...args }?: Partial); } declare class UnsupportedKeyTypeError extends WalletProviderError { constructor({ ...args }?: Partial); } declare class TransactionRejectedError extends WalletProviderError { constructor({ ...args }?: Partial); } declare class MetaMaskError extends WalletProviderError { constructor({ ...args }?: Partial); } declare class MetaMaskNotInstalledError extends WalletProviderError { constructor({ ...args }?: Partial); } declare class MetaMaskSnapsNotSupportedError extends WalletProviderError { constructor({ ...args }?: Partial); } declare class MetaMaskLockedError extends WalletProviderError { constructor({ ...args }?: Partial); } declare class MetaMaskFilSnapNotInstalledError extends WalletProviderError { constructor({ ...args }?: Partial); } declare const _default: { InvalidParamsError: typeof InvalidParamsError; LedgerLostConnectionError: typeof LedgerLostConnectionError; LedgerReplugError: typeof LedgerReplugError; LedgerDisconnectedError: typeof LedgerDisconnectedError; LedgerInUseByAnotherApp: typeof LedgerInUseByAnotherApp; LedgerNotFoundError: typeof LedgerNotFoundError; LedgerDeviceLockedError: typeof LedgerDeviceLockedError; LedgerFilecoinAppBadVersionError: typeof LedgerFilecoinAppBadVersionError; LedgerFilecoinAppNotOpenError: typeof LedgerFilecoinAppNotOpenError; LedgerDeviceBusyError: typeof LedgerDeviceBusyError; MetaMaskError: typeof MetaMaskError; MetaMaskNotInstalledError: typeof MetaMaskNotInstalledError; MetaMaskSnapsNotSupportedError: typeof MetaMaskSnapsNotSupportedError; MetaMaskLockedError: typeof MetaMaskLockedError; MetaMaskFilSnapNotInstalledError: typeof MetaMaskFilSnapNotInstalledError; TransactionRejectedError: typeof TransactionRejectedError; TransportNotSupportedError: typeof TransportNotSupportedError; UnsupportedKeyTypeError: typeof UnsupportedKeyTypeError; WalletProviderError: typeof WalletProviderError; }; export default _default; //# sourceMappingURL=errors.d.ts.map