import type { PDFDocumentProxy } from "pdfjs-dist";
import { EventBus, PDFFindController, PDFViewer } from "pdfjs-dist/web/pdf_viewer.mjs";
import type { RefObject } from "react";
export interface UsePdfViewerResult {
	pdfViewerRef: RefObject<PDFViewer | null>;
	eventBusRef: RefObject<EventBus | null>;
	findControllerRef: RefObject<PDFFindController | null>;
}
export declare function usePdfViewer(containerRef: RefObject<HTMLDivElement | null>, viewerRef: RefObject<HTMLDivElement | null>, document: PDFDocumentProxy | undefined, initialScale?: number, initialPage?: number): UsePdfViewerResult;
