/** * This module provides a collection of value codecs for common data types. * Each codec converts between a TypeScript type and a binary representation * suitable for state storage. * * @module state/scalar-codecs */ import { ValueCodec } from "./value-codec"; import { Temporal } from "../temporal"; /** * Codec for 32-bit signed integers. * Encodes and decodes between JavaScript numbers and Protocol Buffers Int32Value type. */ export declare const int32ValueCodec: ValueCodec; /** * Codec for 64-bit signed integers. * Encodes and decodes between JavaScript numbers and Protocol Buffers Int64Value type. */ export declare const int64ValueCodec: ValueCodec; /** * Codec for 32-bit unsigned integers. * Encodes and decodes between JavaScript numbers and Protocol Buffers UInt32Value type. */ export declare const uint32ValueCodec: ValueCodec; /** * Codec for 64-bit unsigned integers. * Encodes and decodes between JavaScript numbers and Protocol Buffers UInt64Value type. */ export declare const uint64ValueCodec: ValueCodec; /** * Codec for 32-bit floating point numbers. * Encodes and decodes between JavaScript numbers and Protocol Buffers FloatValue type. */ export declare const floatValueCodec: ValueCodec; /** * Codec for 64-bit floating point numbers. * Encodes and decodes between JavaScript numbers and Protocol Buffers DoubleValue type. */ export declare const doubleValueCodec: ValueCodec; /** * Codec for string values. * Encodes and decodes between JavaScript strings and Protocol Buffers StringValue type. */ export declare const stringValueCodec: ValueCodec; /** * Codec for boolean values. * Encodes and decodes between JavaScript booleans and Protocol Buffers BoolValue type. */ export declare const booleanValueCodec: ValueCodec; /** * Codec for timestamp values. * Encodes and decodes between Temporal.Instant objects and Protocol Buffers Timestamp type. */ export declare const timestampValueCodec: ValueCodec;