import { AnyData } from "../proto/compas_pb/generated/message_pb.js"; //#region src/analyzers/serialize.d.ts /** * Serializes an arbitrary value into AnyData. * * Mirrors `compas_pb.core._serializer_any`: containers get their explicit arms and recurse, * registered types are packed as `Any`, envelope-shaped objects degrade to FallbackData, * and everything else must be a primitive. */ declare function serializeAny(value: unknown): AnyData; /** Serializes each value of a plain object, keeping the keys. */ declare function serializeMap(value: Record): { [key: string]: AnyData; }; /** * Serializes any supported value into a complete MessageData envelope. * * The counterpart of `pbLoadBytes`, and the TypeScript equivalent of Python's * `compas_pb.pb_dump_bts`. Unlike `pbDumpBytes` it accepts arbitrary values, not only a * registered wrapper. */ declare function pbDump(value: unknown): Uint8Array; //#endregion export { pbDump, serializeAny, serializeMap }; //# sourceMappingURL=serialize.d.ts.map