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