import { SerializedEthereumRpcError } from './utils'; /** * Serializes an error to a format that is compatible with the Ethereum JSON RPC error format. */ export declare function serializeError(error: unknown): { code: number; message: string; data?: unknown; stack?: string; }; export declare function deserializeError(serialized: SerializedEthereumRpcError): Error; //# sourceMappingURL=serialize.d.ts.map