import { RpcTransport } from '@solana/rpc-spec'; import { ClusterUrl } from '@solana/rpc-types'; import type { RpcFromTransport, SolanaRpcApiFromTransport } from './rpc-clusters'; import { createDefaultRpcTransport } from './rpc-transport'; type DefaultRpcTransportConfig = Parameters>[0]; /** * Creates a {@link Rpc} instance that exposes the Solana JSON RPC API given a cluster URL and some * optional transport config. See {@link createDefaultRpcTransport} for the shape of the transport * config. */ export declare function createSolanaRpc(clusterUrl: TClusterUrl, config?: Omit, 'url'>): RpcFromTransport>, import("./rpc-clusters").RpcTransportFromClusterUrl>; /** * Creates a {@link Rpc} instance that exposes the Solana JSON RPC API given the supplied * {@link RpcTransport}. */ export declare function createSolanaRpcFromTransport(transport: TTransport): RpcFromTransport, TTransport>; export {}; //# sourceMappingURL=rpc.d.ts.map