//#region ../../packages/@intlayer/chokidar/dist/types/utils/chunkJSON.d.ts
//#region src/utils/chunkJSON.d.ts
/**
 * Split & reassemble JSON by character budget.
 * - Measures serialized size using JSON.stringify(..).length (characters).
 * - Ensures each chunk is itself valid JSON.
 * - Very large strings are split into safe pieces using getChunk and re-concatenated on assemble.
 * - Protects against circular structures (JSON can't serialize those anyway).
 */
type JSONPrimitive = string | number | boolean | null;
type JSONValue = JSONPrimitive | JSONObject | JSONArray;
type JSONObject = {
  [k: string]: JSONValue;
};
type JSONArray = JSONValue[];
//#endregion
export { JSONObject };
//# sourceMappingURL=chunkJSON.d.ts.map