import { computeIngestKey, readCacheEntry, writeCacheEntry } from "./cache.js"; import { reconcile, snapshot } from "./reconcile.js"; import { computeTokenStats } from "./tokens.js"; import type { IngestOptions, IngestResult, MemoryRoot } from "./types.js"; export declare const INGEST_PROMPT_VERSION = "v1"; export type IngestRunners = { computeIngestKey?: typeof computeIngestKey; readCacheEntry?: typeof readCacheEntry; writeCacheEntry?: typeof writeCacheEntry; computeTokenStats?: typeof computeTokenStats; snapshot?: typeof snapshot; reconcile?: typeof reconcile; }; export declare function ingest(root: MemoryRoot, opts: IngestOptions, runners?: IngestRunners): Promise;