UNPKG

wowok

Version:

Wowok Blockchain TypeScript API

21 lines (20 loc) 893 B
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 { MessageType } from "@protobuf-ts/runtime"; import { Any } from "../protobuf/any.js"; export interface Status { code: number; message: string; details: Any[]; } declare class Status$Type extends MessageType<Status> { constructor(); create(value?: PartialMessage<Status>): Status; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Status): Status; internalBinaryWrite(message: Status, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } export declare const Status: Status$Type; export {};