/**
 * Snippet highlighter — LanceDB / hybrid-query side of the `<b>…</b>`
 * contract that FTS5's `snippet()` used to produce. The UI (search-page)
 * already renders these snippets as HTML, so we must preserve:
 *
 *   - `<b>` wrapping around matched query terms.
 *   - HTML-escaped surrounding text (so raw source can't inject tags).
 *   - A ~300-char window centred on the earliest match, with `…`
 *     ellipses where we trimmed.
 *   - Case-insensitive matching across multi-token queries.
 *
 * See docs/design/semantic-search.md §7.
 */
export interface HighlightOptions {
    /** Approximate window width in characters. Default 300. */
    windowChars?: number;
}
/**
 * Produce an HTML snippet for `text` with `query` terms wrapped in `<b>`.
 * Output is safe to render as `innerHTML` — the non-`<b>` text is
 * HTML-escaped.
 */
export declare function highlight(text: string, query: string, options?: HighlightOptions): string;
//# sourceMappingURL=snippet.d.ts.map