/// import JSZip = require('jszip'); import { Orient } from './templates'; export declare type DocumentOptions = typeof defaultDocumentOptions; export declare const defaultDocumentOptions: { orientation: Orient; margins: Partial<{ top: number; right: number; bottom: number; left: number; header: number; footer: number; gutter: number; }>; }; export declare function mergeOptions(options: T, patch: Partial): T; export declare function generateDocument(zip: JSZip): Promise; export declare function getBinaryData(str: string): Blob | Buffer; export declare function addFiles(zip: JSZip, htmlSource: string, options: Partial): JSZip;