/** * Knowledge search — the read side of the pipeline. * * Fans a query out across the requested stores (project, global, or both), * drops chunks belonging to superseded document versions, and decorates each * surviving hit with what a caller needs to cite it: the source path, capture * provenance, and the chunk's character span. * * Split out of document-pipeline.ts. * * @module v1/cli/knowledge/document-search */ import type { KnowledgeExcerpt } from './document-types.js'; export declare function searchKnowledge(query: string, opts?: { scope?: string; limit?: number; minScore?: number; rootDir?: string; /** which store(s): project-only, global-only, or both (default). */ store?: 'project' | 'global' | 'all'; /** Return chunks from superseded document versions too, flagged * `superseded: true`. Default false — see the note above `liveContentHashes`. */ includeSuperseded?: boolean; /** Skip cross-encoder reranking. Default false. */ skipRerank?: boolean; }): Promise; //# sourceMappingURL=document-search.d.ts.map