/** * ollama_corpus_index — build or update a named corpus on disk. * * Tier: Embed. Idempotent: unchanged files are reused from the existing * corpus (by sha256); changed files are re-embedded; removed files are * dropped from the corpus. */ import { z } from "zod"; import type { Envelope } from "../envelope.js"; import { type IndexReport } from "../corpus/indexer.js"; import type { RunContext } from "../runContext.js"; export declare const corpusIndexSchema: z.ZodObject<{ name: z.ZodString; paths: z.ZodArray; chunk_chars: z.ZodOptional; chunk_overlap: z.ZodOptional; }, z.core.$strip>; export type CorpusIndexInput = z.infer; export declare function handleCorpusIndex(input: CorpusIndexInput, ctx: RunContext): Promise>; //# sourceMappingURL=corpusIndex.d.ts.map