import type { JsonRpcProvider } from "@polkadot-api/json-rpc-provider"; type StopSubscription = () => void | Promise; export interface ProviderRuntimeChainService { sendRpc(chainName: string, method: string, paramsJson: string): Promise; startSubscription(chainName: string, method: string, paramsJson: string, onMessage: (jsonRpcMessage: string) => void, onAbort: (reason: string) => void): StopSubscription | Promise; } export declare function createRemoteRuntimeProvider(service: ProviderRuntimeChainService, chainName: string): JsonRpcProvider; export {}; //# sourceMappingURL=remote-runtime-provider.d.ts.map