import { Ref, ShallowRef } from 'vue';
import { TextHighlight, MatchHighlightResult, FullMatchHighlightResult } from '@/components';
import type { PDFDocumentProxy } from 'pdfjs-dist';
export interface UseHighlight {
    highlight: (args: TextHighlight[]) => Promise<Record<string, MatchHighlightResult[]>>;
    highlightMatches: Ref<Record<string, FullMatchHighlightResult[]>>;
    highlightKeywords: Ref<TextHighlight[] | undefined>;
    clear: () => void;
}
declare const useHighlight: (pdfDoc: ShallowRef<PDFDocumentProxy | undefined>) => UseHighlight;
export default useHighlight;
