/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ /** * Like JSON.stringify but targets well-formed JS and is slightly more readable. */ export declare function serialize(value: unknown): string | undefined; export declare namespace serialize { /** * Custom serialization function key. */ const SERIALIZE: unique symbol; /** * Mark a value as serialized so the serializer just uses its string * representation. */ function asIs(value: any): any; /** * Test whether a value serializes as a structure or a primitive. */ function isPrimitive(value: any): boolean; } //# sourceMappingURL=serialize.d.ts.map