import { Runtime, RuntimeModule, RuntimeModulesRecord } from "@proto-kit/module"; import { MandatoryProtocolModulesRecord, Protocol, ProtocolModule, ProtocolModulesRecord } from "@proto-kit/protocol"; import { BlockExplorerQuery, BlockExplorerTransportModule, NetworkStateQuery, NetworkStateTransportModule, Query, QueryTransportModule } from "@proto-kit/sequencer"; export declare class QueryService { private readonly runtimeInstance; private readonly protocolInstance; private readonly queryTransport; private readonly networkStateTransport; private readonly blockExplorerTransport; private RuntimeQuery?; private ProtocolQuery?; private NetworkQuery?; private ExplorerQuery?; constructor(runtimeInstance: Runtime, protocolInstance: Protocol, queryTransport: QueryTransportModule, networkStateTransport: NetworkStateTransportModule, blockExplorerTransport: BlockExplorerTransportModule); /** * Getter of query module for runtime modules. * If not initialized before, it is initialized. * @returns A {@link Query} module for runtime module. */ get runtime(): Query, RuntimeModules>; /** * Getter of query module for protocol. * If not initialized before, it is initialized. * @returns A {@link Query} module for protocol module. */ get protocol(): Query, ProtocolModules>; /** * Getter of network state query module. * If not initialized before, it is initialized. * @returns A {@link NetworkStateQuery} module. */ get network(): NetworkStateQuery; /** * Getter of block explorer query module. * If not initialized before, it is initialized. * @returns A {@link BlockExplorerQuery} module. */ get explorer(): BlockExplorerQuery; } //# sourceMappingURL=QueryService.d.ts.map