import { type ComputedRef, type MaybeRef, type ShallowRef } from 'vue';
import type { OnProgressParameters } from 'pdfjs-dist';
import type { PasswordRequestParams, Source } from './types';
export declare function useVuePdfEmbed({ onError, onPasswordRequest, onProgress, source, }: {
    onError?: (e: Error) => unknown;
    onPasswordRequest?: (passwordRequestParams: PasswordRequestParams) => unknown;
    onProgress?: (progressParams: OnProgressParameters) => unknown;
    source: ComputedRef<Source> | MaybeRef<Source> | ShallowRef<Source>;
}): {
    doc: ShallowRef<import("pdfjs-dist/types/src/display/api").PDFDocumentProxy | null>;
};
