wowok
Version:
Wowok Blockchain TypeScript API
24 lines (23 loc) • 1.2 kB
TypeScript
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import type { JsonValue } from "@protobuf-ts/runtime";
import type { JsonReadOptions } from "@protobuf-ts/runtime";
import type { JsonWriteOptions } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
export interface Duration {
seconds: bigint;
nanos: number;
}
declare class Duration$Type extends MessageType<Duration> {
constructor();
internalJsonWrite(message: Duration, options: JsonWriteOptions): JsonValue;
internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Duration): Duration;
create(value?: PartialMessage<Duration>): Duration;
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Duration): Duration;
internalBinaryWrite(message: Duration, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
export declare const Duration: Duration$Type;
export {};