///
export declare class Pages {
pages: {
title: string;
url: string;
}[];
/**
* @param {{title: string; url: string}[]} pages Pages of the manga chapter
*/
constructor(pages: {
title: string;
url: string;
}[]);
/**
* Downloads the pages of the manga chapter and saves it in a folder
* @param {string} folderName Name of the folder to save the the downloaded chapter pages
* @returns {Promise}
*/
download(folderName: string): Promise;
/**
* Builds the PDF of the chapter pages
* @param {string | undefined} filename Filename of the PDF
* @returns {Promise} A Buffer of the PDF
*/
PDF(): Promise;
/**
* Builds the PDF of the chapter pages
* @param {string} filename Filename of the PDF
* @returns {Promise} Filename of the PDF
*/
PDF(filename: string): Promise;
}