export interface WordConfig {
    fileName?: string;
    orientation?: 'portrait' | 'landscape';
    margins?: {
        top: number;
        right: number;
        bottom: number;
        left: number;
    };
    extraCss?: string;
    callback?: (success: boolean, error?: Error) => void;
}
/**
 * 导出Word文档
 */
export declare function exportToWord(content: string, messageIndex: number, title?: string, config?: Partial<WordConfig>): Promise<void>;
export declare function downloadPDF(content: string, messageIndex: number, title?: string, config?: any): Promise<void>;
//# sourceMappingURL=wordUtils.d.ts.map