/** * Content-addressed cache: * key = sha256(model + version + seed + prompt + params_canonical) * path = ///. * * `prompt_hash` is emitted on every AssetBundle; a future hosted tier can * use it as a queue deduplication key (BullMQ jobId, SQS FIFO MessageDeduplicationId, * etc.). The local MCP server itself is synchronous, so the value is just a * cache fingerprint — see docs/research/18-asset-pipeline-tools/18e for the * hosted reference architecture. */ export declare function computeCacheKey(parts: { model: string; version?: string; seed: number; prompt: string; params: Record; }): { key: string; prompt_hash: string; params_hash: string; }; export declare function cachePath(key: string, variant: string): string; export declare function readCache(key: string, variant: string): Buffer | null; export declare function writeCache(key: string, variant: string, data: Buffer | string): string; export declare function writeArtifact(outDir: string, filename: string, data: Buffer | string): string; //# sourceMappingURL=cache.d.ts.map