import type { Common } from '../internal/common.js'; import type { Chain } from '../internal/types.js'; import { type HttpRequestParameters, type HttpRequestReturnType, type HttpRpcClientOptions } from "viem/utils"; export type RpcRequest = { jsonrpc?: "2.0" | undefined; method: string; params?: any | undefined; id?: number | undefined; }; export type HttpRpcClient = { request(params: HttpRequestParameters): Promise>; }; export declare function getHttpRpcClient(url: string, options: HttpRpcClientOptions & { common: Common; chain: Chain; }): HttpRpcClient; //# sourceMappingURL=http.d.ts.map