epub-maker2
Version:
Easily create epub files with javascript
29 lines (21 loc) • 580 B
text/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?): Promise<JSZip>;
}
export interface IBuilderCallback<T, U> extends Function
{
(zip: T, epubConfig: IEpubConfig, options?, ...argv): Promise<U>;
}
export default exports as typeof import('./var');
export const enum EnumSectionCollectType
{
INCLUDE_IN_TOC = 'includeInToc',
INCLUDE_IN_LANDMARKS = 'includeInLandmarks',
}