/** An exact excerpt; matching never rewrites the text or its UTF-16 positions. */ export interface EvidencePassage { hit: number; start: number; end: number; next: number; } /** Exact substring or token matching, without caller-selected regex operators. */ export declare function passageMatcher(query: string | readonly string[], caseSensitive: boolean, matchMode?: 'literal' | 'token'): (text: string, from: number) => EvidencePassage | undefined; /** Overlap bytes support boundary matches; starts in those bytes belong to the next window. */ export declare function passagesInWindow(text: string, from: number, match: ReturnType, limit: number, ownedBytes?: number): { passages: EvidencePassage[]; next: number; }; //# sourceMappingURL=passages.d.ts.map