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