import type { PapershelfConfig } from '../config.js'; import type { ChunkerOptions } from '../chunkers/text-boundaries.js'; import type { VectorStore } from '../storage/libsql-store.js'; import type { CliResult, PapershelfPaths } from '../types.js'; import { type DocumentEmbedder } from './index-document.js'; export type IndexCorpusOptions = { paths: PapershelfPaths; config: PapershelfConfig; chunkerOptions: ChunkerOptions; chunkerVersion: number; embedder: DocumentEmbedder; store: VectorStore; now?: () => Date; }; export declare function indexCorpus(options: IndexCorpusOptions): Promise;