/** The text's size without building it: UTF-8 bytes (what a wire line costs) and UTF-16 code units (what is stored). */
export declare function jsonSize(value: unknown): {
    readonly bytes: number;
    readonly units: number;
};
/** The pieces regrouped into chunks of exactly `size` code units (the last one shorter), whatever their own lengths. */
export declare function jsonChunks(value: unknown, size: number): Generator<string>;
//# sourceMappingURL=json-pieces.d.ts.map