import type { OnProgressParameters } from 'pdfjs-dist';
export type InitPdfOptions = {
    props: {
        source: ArrayBuffer | Array<number> | string;
        password: string;
        cMapUrl?: string;
    };
    onProgress?: (parameter: OnProgressParameters) => void | undefined;
    onPassword?: (func: (password: string) => void, passwordResponses: number) => void | undefined;
};
export declare function useInitPdfDocument({ props, onProgress, onPassword }: InitPdfOptions): {
    doc: Readonly<import("vue-demi").ShallowRef<import("pdfjs-dist/types/src/display/api").PDFDocumentProxy | null>>;
};
