export interface HighlightResult {
    text: string;
    highlights: Array<{
        start: number;
        end: number;
    }>;
}
export declare function highlightText(text: string, queryTerms: string[], tag?: string): string;
export declare function generateSnippet(content: string, queryTerms: string[], options?: {
    maxLength?: number;
    contextBefore?: number;
    contextAfter?: number;
}): string;
export declare function highlightSnippet(content: string, queryTerms: string[], options?: {
    maxLength?: number;
    contextBefore?: number;
    contextAfter?: number;
    tag?: string;
}): string;
export declare function tokenizeQuery(query: string): string[];
//# sourceMappingURL=highlighter.d.ts.map