export type BoundaryJsonValue = null | boolean | number | string | BoundaryJsonValue[] | { [key: string]: BoundaryJsonValue; }; export interface BoundaryJsonCloneOptions { readonly failure: () => Error; readonly maximumDepth?: number; readonly maximumNodes?: number; readonly maximumStringBytes?: number; } /** JSON text is Unicode data, not an arbitrary sequence of UTF-16 code units. */ export declare function isWellFormedUnicode(value: string): boolean; /** Clone a hostile JSON boundary through data descriptors only. */ export declare function cloneBoundaryJson(value: unknown, options: BoundaryJsonCloneOptions, seen?: Set, depth?: number, budget?: { nodes: number; stringBytes: number; }): BoundaryJsonValue; /** Serialize an already-cloned JSON boundary without consulting inherited * `toJSON` hooks or any methods on caller-controlled arrays and objects. */ export declare function stringifyBoundaryJson(value: BoundaryJsonValue): string; //# sourceMappingURL=boundary-json.d.ts.map