import { Type } from 'typebox'; type TUint8Array = Type.TUnsafe; /** * Creates a TypeBox schema for `Uint8Array` values with optional byte length constraints. * This replaces the removed `Type.Uint8Array()` from TypeBox 0.34.x. * * The schema serializes with `{ type: 'Uint8Array' }` for backwards compatibility * with older River clients/servers that used the built-in `Type.Uint8Array()`. * * @param options - Optional constraints for minimum and maximum byte length. * @returns A TypeBox schema that validates `Uint8Array` instances. */ declare function Uint8ArrayType(options?: { minByteLength?: number; maxByteLength?: number; }): TUint8Array; type TDate = Type.TUnsafe; /** * Creates a TypeBox schema for `Date` values. * This replaces the removed `Type.Date()` from TypeBox 0.34.x. * * The schema serializes with `{ type: 'Date' }` for backwards compatibility * with older River clients/servers that used the built-in `Type.Date()`. * * @param options - Optional constraints for minimum and maximum date values. * @returns A TypeBox schema that validates `Date` instances (rejects invalid dates). */ declare function DateType(options?: { minimumTimestamp?: number; maximumTimestamp?: number; }): TDate; export { DateType, type TDate, type TUint8Array, Uint8ArrayType };