import { Options, TargetElementFinder } from './types';
import jsPDF from 'jspdf';
export type { Options };
export declare const generatePDF: (targetRefOrFunction: TargetElementFinder, customOptions?: (Pick<Partial<import("./types").ConversionOptions>, "method" | "filename" | "resolution"> & {
    page?: Partial<import("./types").PageConversionOptions> | undefined;
    canvas?: Partial<Pick<import("html2canvas").Options, "useCORS" | "logging"> & {
        mimeType: "image/jpeg" | "image/png";
        qualityRatio: number;
    }> | undefined;
    overrides?: Partial<{
        pdf?: Partial<import("jspdf").jsPDFOptions> | undefined;
        canvas?: Partial<import("html2canvas").Options> | undefined;
    }> | undefined;
} & {
    header?: TargetElementFinder | undefined;
}) | undefined) => Promise<InstanceType<typeof jsPDF>>;
export default generatePDF;
