import { z } from 'zod/mini';
import type { RpcSchemaMap } from '../types/index.js';
import type { RpcTransport } from './RpcTransport.js';
/** HttpRpcTransport implementation. */
export declare class HttpRpcTransport<T extends RpcSchemaMap = RpcSchemaMap> implements RpcTransport<T> {
    protected readonly _passThrough: boolean;
    protected readonly _rpcUrl: string;
    protected readonly _schemas: T;
    constructor(rpcUrl: string, schemas: T, passThrough?: boolean);
    sendRequest<TMethod extends keyof T>(method: TMethod, params?: z.input<T[TMethod]['params']['to']>): Promise<z.output<T[TMethod]['result']['from']>>;
    private callRpc;
}
//# sourceMappingURL=HttpRpcTransport.d.ts.map