export type BorderSide = { style: number; color?: string; }; export declare const BORDER_STYLE_MAP: Record; /** Convert a fortune border side descriptor to an xlsx-js-style border entry. */ export declare const toBorderSide: (style: unknown, color: unknown) => { style: string; color: { rgb: string; }; } | undefined; /** * Reads `borderInfo` from a fortune sheet config and writes the corresponding * border styles into the xlsx-js-style worksheet object. * * Handles two rangeTypes: * - "cell" → per-cell border entries produced by luckyexcel on import * - "range" → range border commands produced when the user draws borders in the UI */ export declare const applyBordersToWorksheet: (worksheet: Record, borderInfo: any[]) => void;