PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@hashgraph/sdk/lib/network
Просмотр файла: NetworkVersionInfoQuery.d.ts
/**
* @namespace proto
* @typedef {import("@hashgraph/proto").proto.IQuery} HashgraphProto.proto.IQuery
* @typedef {import("@hashgraph/proto").proto.IQueryHeader} HashgraphProto.proto.IQueryHeader
* @typedef {import("@hashgraph/proto").proto.IResponse} HashgraphProto.proto.IResponse
* @typedef {import("@hashgraph/proto").proto.IResponseHeader} HashgraphProto.proto.IResponseHeader
* @typedef {import("@hashgraph/proto").proto.INetworkGetVersionInfoQuery} HashgraphProto.proto.INetworkGetVersionInfoQuery
* @typedef {import("@hashgraph/proto").proto.INetworkGetVersionInfoResponse} HashgraphProto.proto.INetworkGetVersionInfoResponse
*/
/**
* @typedef {import("../channel/Channel.js").default} Channel
*/
/**
* @augments {Query<NetworkVersionInfo>}
*/
export default class NetworkVersionInfoQuery extends Query<NetworkVersionInfo> {
/**
* @param {HashgraphProto.proto.IQuery} query
* @returns {NetworkVersionInfoQuery}
*/
static _fromProtobuf(query: HashgraphProto.proto.IQuery): NetworkVersionInfoQuery;
constructor();
/**
* @protected
* @override
* @param {HashgraphProto.proto.IResponse} response
* @returns {Promise<NetworkVersionInfo>}
*/
protected override _mapResponse(response: HashgraphProto.proto.IResponse): Promise<NetworkVersionInfo>;
}
export namespace HashgraphProto {
namespace proto {
type IQuery = import("@hashgraph/proto").proto.IQuery;
type IQueryHeader = import("@hashgraph/proto").proto.IQueryHeader;
type IResponse = import("@hashgraph/proto").proto.IResponse;
type IResponseHeader = import("@hashgraph/proto").proto.IResponseHeader;
type INetworkGetVersionInfoQuery = import("@hashgraph/proto").proto.INetworkGetVersionInfoQuery;
type INetworkGetVersionInfoResponse = import("@hashgraph/proto").proto.INetworkGetVersionInfoResponse;
}
}
export type Channel = import("../channel/Channel.js").default;
import NetworkVersionInfo from "./NetworkVersionInfo.js";
import Query from "../query/Query.js";
Выполнить команду
Для локальной разработки. Не используйте в интернете!