import { PDFDocumentProxy } from 'pdfjs-dist/types/src/display/api.js';
import { PdfPage, RPSrc, CharacterMap, LoadPDFOptions, ErrorType } from '../types';
export declare const useLoadPdf: (src?: RPSrc, characterMap?: CharacterMap, options?: LoadPDFOptions) => {
    pdf: PDFDocumentProxy | undefined;
    pages: Map<number, PdfPage>;
    loading: boolean;
    error: ErrorType | undefined;
    loadingProgress: number;
    passwordRequired: boolean | undefined;
    passwordError: string | undefined;
};
