import { type Embedder } from '../answer/embed.js'; import { type VectorStore } from '../answer/vector-store.js'; export interface IndexOptions { /** owner/name, from blazeresolver.config.json: the README is fetched from GitHub when none is on disk. */ repo?: string; /** Extra docs files to put in the vector database, each as its own source (`file:`). */ docs?: string[]; /** Also delete `file:` sources from earlier runs that this run wasn't given. */ prune?: boolean; env?: Record; /** For tests: an embedder and store instead of the ones the environment configures. */ embedder?: Embedder; store?: VectorStore; fetch?: typeof fetch; } /** * `blazeresolver index`: puts the product's docs in its vector database now: the README (on disk, else GitHub) and any * docs files, each file its own source. Blazzy retrieves from all of them, including files no handler was given. * Safe to re-run: only new or changed sections are embedded, and sections a source no longer has are deleted. */ export declare function runIndexCommand(opts?: IndexOptions): Promise; //# sourceMappingURL=index-docs.d.ts.map