import { ExcelCellType } from "./valueProps"; export interface FontProps { sz?: number; color?: string; name?: string; family?: string; charset?: "134"; scheme?: "minor"; b?: boolean; i?: boolean; u?: boolean; } export interface FillProps { fgColor?: string; } export declare type BorderStyleProps = "thin" | "dotted" | "hair"; export interface BorderProps { left?: BorderStyleProps; right?: BorderStyleProps; top?: BorderStyleProps; bottom?: BorderStyleProps; } export interface XFProps { font?: number; fill?: number; border?: number; vertical?: "top" | "center" | "bottom"; horizontal?: "left" | "center" | "right"; wrapText?: "1"; numFmtId?: number; } export interface StyleProps { fonts?: FontProps[]; fills?: FillProps[]; borders?: BorderProps[]; links?: XFProps[]; } export interface CellProps { value: string | number; type?: ExcelCellType; style?: number; } export interface PageSetup { paperSize?: number; orientation?: "landscape" | "landscape"; horizontalDpi?: number; verticalDpi?: number; } export interface PageMargins { left: number; right: number; top: number; bottom: number; header: number; footer: number; } export interface SheetProps { pageMargins?: PageMargins; pageSetup?: PageSetup; data?: Array>; mergeList?: string[]; cellWidthMap?: Record; rowHeightMap?: Record; }