epub-maker2
Version:
Easily create epub files with javascript
20 lines (19 loc) • 632 B
TypeScript
/**
* Created by user on 2017/12/12/012.
*/
import { JSZip } from './epubtpl-lib/zip';
import { IEpubConfig } from './config';
import { EpubMaker } from './index';
export { IEpubConfig };
export interface IBuilder {
make(epub: EpubMaker, options?: any): Promise<JSZip>;
}
export interface IBuilderCallback<T, U> extends Function {
(zip: T, epubConfig: IEpubConfig, options?: any, ...argv: any[]): Promise<U>;
}
declare const _default: typeof import("./var");
export default _default;
export declare const enum EnumSectionCollectType {
INCLUDE_IN_TOC = "includeInToc",
INCLUDE_IN_LANDMARKS = "includeInLandmarks"
}