/** * Read entire stdin (for piping JSON) or a file when `filePath` is set. */ export declare function readUtf8FromFileOrStdin(filePath?: string): Promise; export declare function parseJsonObject(raw: string, label: string): Record; /** * Seed-style `{ data, scope?, relations? }` becomes native upsert input * `{ ...dataFields, scope?, relations? }` as expected by {@link stripReservedWriteFields}. */ export declare function normalizeNativeUpsertBody(o: Record): Record; /** Same normalization for patch bodies that only touch `data`. */ export declare function normalizeNativePatchBody(o: Record): Record; /** * Parse one JSON array of objects, or NDJSON (one JSON object per line). */ export declare function parseJsonArrayOrNdjson(raw: string, label: string): Array>; //# sourceMappingURL=item-json.d.ts.map