export interface WindowedSelection { text: string; wordCount: number; truncated: boolean; } /** * Select up to `maxWords` words from `text`, preferring spans that share * terms with `terms`. Under the cap, returns the text unchanged (modulo * whitespace normalization from the word split). */ export declare function selectRelevantWindow(text: string, terms: string[], maxWords: number): WindowedSelection; //# sourceMappingURL=relevance-window.d.ts.map