import { ReportType } from "./../types.d";
import pdfMake from "pdfmake/build/pdfmake";
import { TDocumentDefinitions } from "pdfmake/interfaces";
export declare let preloadDone: boolean;
export default class PDF {
    pdf: pdfMake.TCreatedPdf | null;
    doc: TDocumentDefinitions | null;
    data: ReportType;
    agencyLogo?: string;
    dayDueDate: {
        startDate: string;
        endDate: string;
    };
    weekDueDate: {
        startDate: string;
        endDate: string;
    };
    tier: "다이아몬드" | "플래티넘" | "골드" | "실버" | "브론즈";
    constructor(data: ReportType, tier: "다이아몬드" | "플래티넘" | "골드" | "실버" | "브론즈", dayDueDate: {
        startDate: string;
        endDate: string;
    }, weekDueDate: {
        startDate: string;
        endDate: string;
    }, agencyLogo?: string);
    makeFirstPage: () => boolean;
    makeSecondPage: () => boolean;
    makeThirdPage: () => boolean;
    makeFourthPage: () => boolean;
    start: () => Promise<boolean>;
    download: () => Promise<boolean>;
}
