import type { PDFDocumentProxy } from 'pdfjs-dist';
import type { AnnotationEventPayload } from '@/utils/types';
declare const EVENTS_TO_HANDLER: string[];
declare function annotationEventsHandler(evt: Event, pdfDoc: PDFDocumentProxy, annotationObjList: Object[], viewerRotation: number, annotationStorage?: any): AnnotationEventPayload | Promise<AnnotationEventPayload | undefined> | undefined;
declare const insertDate: (annotationLayer?: HTMLDivElement) => void;
/**
 * Get the parent annotation element for a popup.
 * Returns the cached annotation element that triggered this popup.
 */
declare function getPopupParentAnnotation(popupElement: HTMLElement): HTMLElement | null;
export { EVENTS_TO_HANDLER, annotationEventsHandler, insertDate, getPopupParentAnnotation };
