/// import jszip, { JSZipGeneratorOptions } from 'jszip'; import { Chapter, chapterDefaults, Content, Font, Image, NormChapter, NormOptions, Options, optionsDefaults } from './util'; export { Options, Content, Chapter, Font, optionsDefaults, chapterDefaults }; export declare class EPub { protected options: NormOptions; protected content: NormChapter[]; protected uuid: string; protected images: Image[]; protected cover?: { extension: string; mediaType: string; }; protected log: typeof console.log; protected warn: typeof console.warn; protected zip: InstanceType; constructor(options: Options, content: Content); render(): Promise; genEpub(): Promise; generateAsync(options: JSZipGeneratorOptions): Promise; protected generateTemplateFiles(): Promise; protected downloadAllFonts(): Promise; protected downloadAllImages(): Promise; protected makeCover(): Promise; } declare const epub: (optionsOrTitle: Options | string, content: Content, ...args: (boolean | number)[]) => Promise; export default epub;