import { BackgroundColorName } from 'chalk'; export interface EdgeStyle { topLeftCorner: string; topRightCorner: string; bottomLeftCorner: string; bottomRightCorner: string; horizontalSeparator: string; verticalSeparator: string; vertical: string; topCenter: string; bottomCenter: string; verticalRowLeft: string; verticalRowRight: string; } export interface PredefinedEdgeStyles { single: EdgeStyle; bold: EdgeStyle; rounded: EdgeStyle; dotted: EdgeStyle; thick: EdgeStyle; minimal: EdgeStyle; heavyDashed: EdgeStyle; double: EdgeStyle; } export interface TableOptions { headerColors?: Record; rowStyles?: Record | string>; rowStyleKey?: string; rowBackgrounds?: { odd: BackgroundColorName; even: BackgroundColorName; }; edgeStyles?: keyof PredefinedEdgeStyles | { topLeftCorner: string; topRightCorner: string; bottomLeftCorner: string; bottomRightCorner: string; horizontalSeparator: string; verticalSeparator: string; topCenter: string; vertical: string; bottomCenter: string; verticalRowLeft: string; verticalRowRight: string; }; highlightColumn?: string; columnAlignments?: Record; }