import { HoverState, SelectionState, TextAnnotationStore, TextAnnotatorOptions, TextAnnotatorState } from '@recogito/text-annotator';
import { ViewportState } from '@annotorious/core';
import { PDFAnnotation } from '../model/core/pdf-annotation';
import * as pdfjsViewer from 'pdfjs-dist/legacy/web/pdf_viewer.mjs';
export interface PDFAnnotationStore extends TextAnnotationStore<PDFAnnotation> {
    onLazyRender(page: number): void;
}
export interface PDFAnnotatorState extends TextAnnotatorState<PDFAnnotation, PDFAnnotation> {
    store: PDFAnnotationStore;
    selection: SelectionState<PDFAnnotation, PDFAnnotation>;
    hover: HoverState<PDFAnnotation>;
    viewport: ViewportState;
}
export declare const createPDFAnnotatorState: (viewer: pdfjsViewer.PDFViewer, viewerElement: HTMLDivElement, opts: TextAnnotatorOptions<PDFAnnotation, PDFAnnotation>) => PDFAnnotatorState;
