import { PDFDocumentProxy } from 'pdfjs-dist';
import { MatchHighlight, TextHighlight } from '../types';
interface UseHighlight {
    highlight: (value: TextHighlight[]) => Promise<void>;
    highlightMatches: MatchHighlight[];
    highlightKeywords: TextHighlight[] | undefined;
    clear: () => void;
}
export declare const useHighlight: (pdf: PDFDocumentProxy | undefined) => UseHighlight;
export {};
