import { ErrTuple } from "libskynet"; import type { RPCRequest } from "@lumeweb/dht-rpc-client"; export declare class RpcNetwork { private _actionQueue; get ready(): Promise; addRelay(pubkey: string): void; removeRelay(pubkey: string): void; clearRelays(): void; query(query: string, chain: string, data?: object | any[], force?: boolean): RpcQuery; processQueue(): Promise; } export declare class RpcQuery { private _promise; constructor(network: RpcNetwork, query: RPCRequest); get result(): Promise; } //# sourceMappingURL=index.d.ts.map