import { Worksheet, RichText } from 'exceljs'; export type CellRichTextValue = { richText: RichText[]; }; /** * Convert a Fortune/Luckysheet `ct.s` rich text array into an ExcelJS * CellRichTextValue. Returns null if there are no non-empty runs. */ export declare function buildExcelJsRichText(ctS: any[]): CellRichTextValue | null; /** * Apply rich text values collected during Pass 1 to an ExcelJS worksheet. * Cell-level styles (fill, borders, alignment) from xlsx-js-style are preserved * because ExcelJS stores value and style independently. */ export declare function applyRichTextToWorksheet(ws: Worksheet, richTextMap: Map): void;