/** downloads.json in the models cache dir: resolved model URI → the .gguf * basename node-llama-cpp stored it under. Written on successful (verified) * download; read only by the `agency local list` view. Display metadata: * resolution, downloading, and verification never consult it, so a missing * or corrupt manifest can mislabel the list and nothing else — and for the * same reason `recordDownload` NEVER throws (a bookkeeping failure must not * turn a successful download into a failed command). `writeText` replaces * the file by renaming a uniquely named sibling over it, so an interrupted * write keeps the previous valid manifest, and two concurrent downloaders * race whole-file on the rename (last writer wins), accepted for display * metadata. */ export declare const MANIFEST_FILE = "downloads.json"; export declare function readDownloadManifest(dir: string): Record; export declare function recordDownload(dir: string, uri: string, file: string): void;