import { Query } from "./query"; import { Response } from "./response"; import { Transaction } from "./transaction"; import { TransactionResponse } from "./transaction_response"; export declare const protobufPackage = "proto"; /** The requests and responses for different network services. */ export interface NetworkService { /** Retrieves the active versions of Hedera Services and HAPI proto */ getVersionInfo(request: Query): Promise; /** * Retrieves the time in nanoseconds spent in handleTransaction for one or more * TransactionIDs (assuming they have reached consensus "recently", since only a limited * number of execution times are kept in-memory, depending on the value of the node-local * property stats.executionTimesToTrack). */ getExecutionTime(request: Query): Promise; /** * Submits a "wrapped" transaction to the network, skipping its standard prechecks. (Note that * the "wrapper" UncheckedSubmit transaction is still subject to normal prechecks, * including an authorization requirement that its payer be either the treasury or system admin * account.) */ uncheckedSubmit(request: Transaction): Promise; /** * Get all the information about an account, including balance and allowances. This does not get the list of * account records. */ getAccountDetails(request: Query): Promise; } export declare const NetworkServiceServiceName = "proto.NetworkService"; export declare class NetworkServiceClientImpl implements NetworkService { private readonly rpc; private readonly service; constructor(rpc: Rpc, opts?: { service?: string; }); getVersionInfo(request: Query): Promise; getExecutionTime(request: Query): Promise; uncheckedSubmit(request: Transaction): Promise; getAccountDetails(request: Query): Promise; } interface Rpc { request(service: string, method: string, data: Uint8Array): Promise; } export {}; //# sourceMappingURL=network_service.d.ts.map