import { ErrorCode } from "@ethersproject/logger"; export interface EthersError { code: ErrorCode; message: string; } export type Ethers_5_7_Error = { [K in (typeof ETHERS_5_7_ERROR_PROPS)[number]]?: string | number; } & Error; export declare const ETHERS_5_7_ERROR_PROPS: readonly ["code", "error", "reason", "url", "requestBody", "timeout", "method", "address", "args", "errorSignature", "body"]; export declare function isEthersError(e: unknown): e is EthersError; export declare function isEthers_5_7_Error(error: unknown): error is Ethers_5_7_Error; //# sourceMappingURL=EthersError.d.ts.map