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