import { Document, ExternalHyperlink, FileChild, ImageRun, Paragraph, Table, TableCell, TableRow, TextRun } from 'docx';
import { WaxDocument, WaxNode } from './waxDocumentTypes';
import { ImageData, WaxToDocxConverterOptions, TextHandlerOptions, ImageType, ParagraphHandlerOptions, WaxToDocxConverterConfig, ContentParserOptions, TableCellHandlerOptions } from './types';
/**
 * TO DO
 *
 * highlight
 * transform case
 * headings
 *
 * lists: every third level, reset style. eg. 1,a,i,1,a,i etc
 *
 */
declare class WaxToDocxConverter {
    #private;
    baseFontSize: number;
    baseMessage: string;
    config: WaxToDocxConverterConfig;
    doc: WaxDocument;
    fontFamily: string;
    imageData: ImageData;
    listInstance: number;
    listIndentFirstLevelLeft: number;
    listIndentFirstLevelHanging: number;
    listIndentSecondLevelLeft: number;
    listIndentSecondLevelHanging: number;
    listIndentThirdLevelLeft: number;
    listIndentThirdLevelHanging: number;
    listTypes: {
        ORDERED: string;
        BULLET: string;
    };
    paragraphSpacingAfter: number;
    typeToHandlerMap: Record<string, Function>;
    constructor(doc: WaxDocument, imageData: any, options?: WaxToDocxConverterOptions);
    error: (e: Error | string) => void;
    textHandler: (textObject: any, options?: TextHandlerOptions) => TextRun | ExternalHyperlink;
    listItemHandler: (listItem: any, options: any) => FileChild[];
    listHandler: (list: any, options: any) => FileChild[];
    orderedListHandler: (list: any, options: any) => FileChild[];
    bulletListHandler: (list: any, options: any) => FileChild[];
    tableHandler: (table: any) => Table;
    tableRowHandler: (row: any) => TableRow;
    tableCellHandler: (cell: any, options?: TableCellHandlerOptions) => TableCell;
    figureHandler: (figure: any, options: any) => Paragraph;
    getImageType(filePath: string): ImageType;
    imageHandler: (image: any) => ImageRun;
    captionHandler: (caption: WaxNode) => TextRun;
    paragraphHandler: (paragraph: any, options?: ParagraphHandlerOptions) => Paragraph;
    hardBreakHandler: () => TextRun;
    contentParser: (content: any, options?: ContentParserOptions) => FileChild[];
    buildDocx: () => Document;
    writeToPath(filePath: string): Promise<void>;
}
export default WaxToDocxConverter;
//# sourceMappingURL=docx.service.d.ts.map