import type { JsonRpcRequest, JsonRpcTransport } from './interfaces';
import { RpcError } from './errors';
export declare abstract class BaseTransport implements JsonRpcTransport {
    abstract request<T = any>(method: string, params?: any[]): Promise<T>;
    batch<T = any>(requests: JsonRpcRequest[]): Promise<Array<T | null>>;
    close(): Promise<void> | void;
    protected normalizeError(error: unknown, method: string): RpcError;
}
