import type { Rpc } from './Rpc'; import { TEth } from '../models/TEth'; import { TTransport } from './transports/ITransport'; export declare namespace $rpc { enum ErrorCodes { ConnectionFailed = 1006 } function createConnectionErrorResponse(error: Error & { cause?: Error & { code?: number; }; }, opts?: { url: string; }): TTransport.Response; function waitForReceipt(rpc: Rpc, hash: TEth.Hex): Promise; function deserialize(model: any, schema: string | string[] | { oneOf: string[]; }, schemas: any): any; }