import type { MaybeRef } from 'vue';
import { type PDFOptions, type PDFSrc, type PDFDocumentOptions } from '../utils/types';
import { type PDFDocumentProxy, type PDFPageProxy } from 'pdfjs-dist/types/src/display/api';
declare function usePdf(src: MaybeRef<PDFSrc>, options?: PDFOptions, workerUrl?: string, documentOptions?: PDFDocumentOptions, wasmUrl?: string): {
    pdfDocLoadingTask: import("vue").ShallowRef<import("pdfjs-dist/types/src/display/api").PDFDocumentLoadingTask | undefined, import("pdfjs-dist/types/src/display/api").PDFDocumentLoadingTask | undefined>;
    getPage: (doc: PDFDocumentProxy, pageIndex: number) => Promise<PDFPageProxy>;
};
export default usePdf;
