import { IRpcClient } from '@interchainjs/types'; export interface HttpEndpoint { url: string; timeout?: number; headers?: Record; } export declare class HttpRpcClient implements IRpcClient { private endpointConfig; private options; private connected; constructor(endpointConfig: string | HttpEndpoint, options?: { timeout?: number; headers?: Record; }); get endpoint(): string; connect(): Promise; disconnect(): Promise; isConnected(): boolean; call(method: string, params?: TRequest): Promise; subscribe(method: string, params?: unknown): AsyncIterable; private getUrl; private getHeaders; private getTimeout; }