type monthTypeE = "full" | "half" | "short"; interface commonI { text: string; monthType?: monthTypeE; xAxis?: number; yAxis?: number; fontSize: number; isBold?: boolean; } interface colorI { red: number; green: number; blue: number; } interface configBaseI extends commonI { color?: colorI; } interface configI { [key: number]: configBaseI[]; } interface writePDFI { pdfFilePath: string; outPutPath: string; config: configI; } declare class pdfHelper { constructor(); private getDate; private convertColor; private centerCoordinates; private drawText; /** * Write the provided text configurations to a PDF file and save the output. * @async * @param {writePDFI} params - The parameters for writing text to the PDF. * @param {string} params.pdfFilePath - The path to the existing PDF file where text will be added. * @param {string} params.outPutPath - The path where the modified PDF file will be saved. * @param {configI} params.config - The configuration for adding text on different pages of the PDF. * @returns {Promise} Whether the operation was successful or not. */ writePDF({ pdfFilePath, outPutPath, config, }: writePDFI): Promise; } export declare const PDF: pdfHelper; export {};