import type { PDFDocumentProxy } from "pdfjs-dist";
import type { EventBus, PDFViewer } from "pdfjs-dist/web/pdf_viewer.mjs";
import type { RefObject } from "react";
export interface AnnotationPortalTarget {
	pageNumber: number;
	left: number;
	top: number;
	width: number;
	height: number;
	pageHeight: number;
	scale: number;
	transform: number[];
}
export declare function usePdfAnnotationPortals(pdfViewerRef: RefObject<PDFViewer | null>, eventBusRef: RefObject<EventBus | null>, document: PDFDocumentProxy | undefined): AnnotationPortalTarget[];
