import { AlignmentType, Paragraph, type IParagraphOptions } from 'docx'; import { type DocxOptions } from '../option'; import { type ParagraphNode } from '../types'; /** * Map editor alignment value to docx AlignmentType */ export declare function mapAlignment(align?: 'left' | 'center' | 'right' | 'justify' | null): (typeof AlignmentType)[keyof typeof AlignmentType] | undefined; /** * Convert TipTap paragraph node to DOCX Paragraph * * @param node - TipTap paragraph node * @param options - Optional paragraph options (e.g., numbering) * @returns DOCX Paragraph object */ export declare function convertParagraph(node: ParagraphNode, options?: IParagraphOptions, imageOptions?: DocxOptions['image']): Promise;