// Derived from `cli-boxes` (MIT, Sindre Sorhus). export const BOXES = { single: { topLeft: "┌", top: "─", topRight: "┐", right: "│", bottomRight: "┘", bottom: "─", bottomLeft: "└", left: "│", }, double: { topLeft: "╔", top: "═", topRight: "╗", right: "║", bottomRight: "╝", bottom: "═", bottomLeft: "╚", left: "║", }, round: { topLeft: "╭", top: "─", topRight: "╮", right: "│", bottomRight: "╯", bottom: "─", bottomLeft: "╰", left: "│", }, bold: { topLeft: "┏", top: "━", topRight: "┓", right: "┃", bottomRight: "┛", bottom: "━", bottomLeft: "┗", left: "┃", }, singleDouble: { topLeft: "╓", top: "─", topRight: "╖", right: "║", bottomRight: "╜", bottom: "─", bottomLeft: "╙", left: "║", }, doubleSingle: { topLeft: "╒", top: "═", topRight: "╕", right: "│", bottomRight: "╛", bottom: "═", bottomLeft: "╘", left: "│", }, classic: { topLeft: "+", top: "-", topRight: "+", right: "|", bottomRight: "+", bottom: "-", bottomLeft: "+", left: "|", }, arrow: { topLeft: "↘", top: "↓", topRight: "↙", right: "←", bottomRight: "↖", bottom: "↑", bottomLeft: "↗", left: "→", }, } as const; export type BoxStyle = keyof typeof BOXES; /** The set of glyphs making up a box border, for custom `borderStyle` objects. */ export type BoxGlyphs = { readonly topLeft: string; readonly top: string; readonly topRight: string; readonly right: string; readonly bottomRight: string; readonly bottom: string; readonly bottomLeft: string; readonly left: string; };