import type { ParsedQuery, SearchMatchReason } from "./types.js"; export declare function withoutMarks(snippet: string): string; /** A bounded window around the first hit, every hit inside it marked, or null * when no word landed in this text at all. */ export declare function snippetAround(value: string, words: readonly string[]): string | null; /** Why a row selected purely by structured facets is in the list. Never empty — * a result that cannot say why it matched does not belong in the list. */ export declare function facetReasons(parsed: ParsedQuery, title: string): SearchMatchReason[]; //# sourceMappingURL=match-reason.d.ts.map