UNPKG

@confluentinc/schemaregistry

Version:
35 lines (34 loc) 952 B
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file confluent/types/decimal.proto. */ export declare const file_confluent_types_decimal: GenFile; /** * @generated from message confluent.type.Decimal */ export type Decimal = Message<"confluent.type.Decimal"> & { /** * The two's-complement representation of the unscaled integer value in big-endian byte order * * @generated from field: bytes value = 1; */ value: Uint8Array; /** * The precision * * @generated from field: uint32 precision = 2; */ precision: number; /** * The scale * * @generated from field: int32 scale = 3; */ scale: number; }; /** * Describes the message confluent.type.Decimal. * Use `create(DecimalSchema)` to create a new message. */ export declare const DecimalSchema: GenMessage<Decimal>;