PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/sdk-coin-hbar/node_modules/@hashgraph/sdk/lib

Просмотр файла: Duration.d.ts

/**
 * @namespace proto
 * @typedef {import("@hashgraph/proto").proto.IDuration} HashgraphProto.proto.IDuration
 */
/**
 * A duration type.
 *
 * The main point of this tyope is for encapsulating the `[to|from]Protobuf()` implementations
 */
export default class Duration {
    /**
     * @internal
     * @param {HashgraphProto.proto.IDuration} duration
     * @returns {Duration}
     */
    static _fromProtobuf(duration: HashgraphProto.proto.IDuration): Duration;
    /**
     * @param {Long | number} seconds
     */
    constructor(seconds: Long | number);
    /**
     * @readonly
     * @type {Long}
     */
    readonly seconds: Long;
    /**
     * @internal
     * @returns {HashgraphProto.proto.IDuration}
     */
    _toProtobuf(): HashgraphProto.proto.IDuration;
}
export namespace HashgraphProto {
    namespace proto {
        type IDuration = import("@hashgraph/proto").proto.IDuration;
    }
}
import Long from "long";

Выполнить команду


Для локальной разработки. Не используйте в интернете!