/** * ollama_corpus_refresh — reconcile a named corpus against its manifest. * * Tier: Embed (only when actual re-embedding is needed). No-op refreshes * don't touch the embed rail at all. * * Single argument: `name`. All other parameters (paths, chunk_chars, * chunk_overlap, embed_model) live in the manifest — refresh is * faithful to what's declared there, not to whatever the caller feels * like passing this turn. * * Returns a drift report: added / changed / unchanged / deleted / * missing (per-path lists) plus reused / reembedded / dropped * (chunk-level counts) plus elapsed_ms and no_op. */ import { z } from "zod"; import type { Envelope } from "../envelope.js"; import { type RefreshReport } from "../corpus/refresh.js"; import type { RunContext } from "../runContext.js"; export declare const corpusRefreshSchema: z.ZodObject<{ name: z.ZodString; retry_failed: z.ZodOptional; }, z.core.$strip>; export type CorpusRefreshInput = z.infer; export declare function handleCorpusRefresh(input: CorpusRefreshInput, ctx: RunContext): Promise>; //# sourceMappingURL=corpusRefresh.d.ts.map