/**
 * Shared serialization utility for the state inspector.
 *
 * Converts Maps → plain objects, Sets → arrays, and replaces circular
 * references with a sentinel string so any state snapshot is JSON-safe.
 */
/**
 * Serialize a value to a JSON-safe representation.
 * Maps → plain objects, Sets → arrays, circular refs → '[Circular]'.
 *
 * @param value - Value to serialize.
 * @param seen - WeakSet tracking seen objects to detect cycles.
 * @returns A JSON-safe representation.
 */
export declare function serializeSafe(value: unknown, seen?: WeakSet<WeakKey>): unknown;
//# sourceMappingURL=serialize.d.ts.map