/** * Hard cap on auxiliary JSON payloads (metadata, retrieval config, * messages-file, etc.) loaded from disk. readFileSync loads the whole file * into memory, so an accidentally huge JSON would OOM the CLI; 16 MiB * covers every realistic use case. */ export declare const MAX_JSON_BYTES: number; /** * Load and parse a JSON file referenced by a CLI flag. * * Centralises the duplicated `loadJsonFile` previously implemented in * kb.ts and memory.ts. All failure paths produce a structured * BAD_REQUEST CliExitError so the top-level handler renders a stable * envelope instead of a stack trace. */ export declare function loadJsonFile(filePath: string): unknown; //# sourceMappingURL=load-json-file.d.ts.map