import type { Sheet } from '@fortune-sheet/core'; export type XlsxCellBorderStyle = 'dashDot' | 'dashDotDot' | 'dashed' | 'dotted' | 'double' | 'hair' | 'medium' | 'mediumDashDot' | 'mediumDashDotDot' | 'mediumDashed' | 'slantDashDot' | 'thick' | 'thin'; export interface XlsxCellBorderLine { color: string; style: XlsxCellBorderStyle; } export interface XlsxCellBorder { bottom?: XlsxCellBorderLine | null; diagonal?: XlsxCellBorderLine | null; diagonalDown?: boolean; diagonalUp?: boolean; left?: XlsxCellBorderLine | null; right?: XlsxCellBorderLine | null; top?: XlsxCellBorderLine | null; } export interface XlsxPositionedCellBorder { border?: XlsxCellBorder; column: number; row: number; } export declare function collectXlsxCellBorders(sheet: Sheet): ReadonlyMap; export declare function fortuneBorderInfoFromXlsxCells(entries: readonly XlsxPositionedCellBorder[]): unknown[]; export declare function xlsxCellBorderKey(row: number, column: number): string; export declare function xlsxCellBorderLineFromFortune(value: unknown): XlsxCellBorderLine | null | undefined; export declare function fortuneBorderStyle(style: XlsxCellBorderStyle): string;