import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; //#region src/command/google/protobuf/wrappers.d.ts declare const protobufPackage = "google.protobuf"; /** * Wrapper message for `double`. * * The JSON representation for `DoubleValue` is JSON number. * * Not recommended for use in new APIs, but still useful for legacy APIs and * has no plan to be removed. */ interface DoubleValue { /** The double value. */ value: number; } /** * Wrapper message for `float`. * * The JSON representation for `FloatValue` is JSON number. * * Not recommended for use in new APIs, but still useful for legacy APIs and * has no plan to be removed. */ interface FloatValue { /** The float value. */ value: number; } /** * Wrapper message for `int64`. * * The JSON representation for `Int64Value` is JSON string. * * Not recommended for use in new APIs, but still useful for legacy APIs and * has no plan to be removed. */ interface Int64Value { /** The int64 value. */ value: number; } /** * Wrapper message for `uint64`. * * The JSON representation for `UInt64Value` is JSON string. * * Not recommended for use in new APIs, but still useful for legacy APIs and * has no plan to be removed. */ interface UInt64Value { /** The uint64 value. */ value: number; } /** * Wrapper message for `int32`. * * The JSON representation for `Int32Value` is JSON number. * * Not recommended for use in new APIs, but still useful for legacy APIs and * has no plan to be removed. */ interface Int32Value { /** The int32 value. */ value: number; } /** * Wrapper message for `uint32`. * * The JSON representation for `UInt32Value` is JSON number. * * Not recommended for use in new APIs, but still useful for legacy APIs and * has no plan to be removed. */ interface UInt32Value { /** The uint32 value. */ value: number; } /** * Wrapper message for `bool`. * * The JSON representation for `BoolValue` is JSON `true` and `false`. * * Not recommended for use in new APIs, but still useful for legacy APIs and * has no plan to be removed. */ interface BoolValue { /** The bool value. */ value: boolean; } /** * Wrapper message for `string`. * * The JSON representation for `StringValue` is JSON string. * * Not recommended for use in new APIs, but still useful for legacy APIs and * has no plan to be removed. */ interface StringValue { /** The string value. */ value: string; } /** * Wrapper message for `bytes`. * * The JSON representation for `BytesValue` is JSON string. * * Not recommended for use in new APIs, but still useful for legacy APIs and * has no plan to be removed. */ interface BytesValue { /** The bytes value. */ value: Uint8Array; } declare const DoubleValue: MessageFns; declare const FloatValue: MessageFns; declare const Int64Value: MessageFns; declare const UInt64Value: MessageFns; declare const Int32Value: MessageFns; declare const UInt32Value: MessageFns; declare const BoolValue: MessageFns; declare const StringValue: MessageFns; declare const BytesValue: MessageFns; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; type DeepPartial = T extends Builtin ? T : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & { [K in Exclude>]: never; }; interface MessageFns { encode(message: T, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): T; fromJSON(object: any): T; toJSON(message: T): unknown; create, I>>(base?: I): T; fromPartial, I>>(object: I): T; } //#endregion export { BoolValue, BytesValue, DeepPartial, DoubleValue, Exact, FloatValue, Int32Value, Int64Value, MessageFns, StringValue, UInt32Value, UInt64Value, protobufPackage };