import { Serializable } from '../../types';
export declare function toJson(data: Serializable): string;
export declare function fromJson<T>(serialized: string): T;
/**
 * JSON.stringify that replaces true circular references with '[Circular]'.
 * Shared (non-circular) object references are serialized normally.
 */
export declare function safeJsonStringify(data: unknown): string;
//# sourceMappingURL=serialization.d.ts.map