import { Ref } from 'vue'; import { PageViewport, PDFPageProxy } from 'pdfjs-dist'; import type { RectBox } from '@/utils/types'; import { type SelectionBounds } from '@/utils/annotation-menu-bounds'; interface UseAnnotationTextSelectionProps { page: Ref; viewport: Ref; textLayer: Ref; } export interface UseAnnotationTextSelectionReturn { menuOpen: Ref; selectionBounds: Ref; selectedBoxes: Ref; selectedText: Ref; showMenu: () => void; hideMenu: () => void; clearSelection: () => void; } export declare const useAnnotationTextSelection: (props: UseAnnotationTextSelectionProps) => UseAnnotationTextSelectionReturn; export {};