import { StreamableFile } from "@nestjs/common"; import { XExportColumn, XExportService } from "./x-export.service"; import { ToManyAssocExportType } from "../serverApi/ExportImportParam"; import * as ExcelJS from "exceljs"; interface RichTextRun { text: string; font?: Partial; } export declare class XExportExcelService extends XExportService { export(worksheetName: string, columns: XExportColumn[], entity: string | undefined, rows: any[]): Promise; exportBase(worksheetName: string, columns: XExportColumn[], createHeaders: boolean, formatRow: (row: any, excelRow: ExcelJS.Row) => void | undefined, toManyAssocExportType: ToManyAssocExportType, fieldsToDuplicateValues: string[] | undefined, entity: string | undefined, rows: any[]): Promise; createWorksheet(workbook: ExcelJS.Workbook, worksheetName: string, createFrozenRow?: boolean): ExcelJS.Worksheet; highlightHeaderRow(worksheet: ExcelJS.Worksheet): void; createStreamableFile(workbook: ExcelJS.Workbook): Promise; private computeWidth; static MDW: number; static REM_TO_PX: number; cssWidthToPixels(cssWidth: string): number; pixelsToExcelWidth(pixels: number): number; cssWidthToExcelWidth(cssWidth: string): number; htmlToRichText(html: string): RichTextRun[]; } export {};