import type { PDFDocumentProxy } from "pdfjs-dist";
interface UsePdfDocumentResult {
	document: PDFDocumentProxy | undefined;
	numPages: number;
	loading: boolean;
	error: Error | undefined;
}
export declare function usePdfDocument(src: string | ArrayBuffer): UsePdfDocumentResult;
export {};
