/**
 * A half-open `[start, end)` range of code-unit offsets into a preview string,
 * marking one occurrence of the query to emphasize.
 */
export interface HighlightRange {
    /** Inclusive start offset within the preview. */
    readonly start: number;
    /** Exclusive end offset within the preview. */
    readonly end: number;
}
/**
 * Finds every case-insensitive occurrence of `query` within `preview`,
 * best-effort for rendering emphasis.
 *
 * - Empty/whitespace query → `[]` (nothing to highlight).
 * - Overlapping matches cannot occur (search advances past each match end).
 * - Offsets are JS string code units, so a consumer highlights with
 *   `preview.slice(start, end)`.
 */
export declare function findHighlightRanges(preview: string, query: string): HighlightRange[];
//# sourceMappingURL=matchContentPreview.d.ts.map