/** * Spacing system and layout constants for the terminal UI design system. * * Provides a consistent spacing scale and layout primitives * for building terminal UIs with predictable rhythm. */ export interface SpacingScale { /** Extra small: 1 cell */ readonly xs: number; /** Small: 2 cells */ readonly sm: number; /** Medium: 3 cells */ readonly md: number; /** Large: 4 cells */ readonly lg: number; /** Extra large: 6 cells */ readonly xl: number; } export declare const spacing: SpacingScale; export type BorderStyle = "single" | "round" | "double" | "thick"; export interface BorderChars { readonly topLeft: string; readonly topRight: string; readonly bottomLeft: string; readonly bottomRight: string; readonly horizontal: string; readonly vertical: string; readonly cross: string; readonly tDown: string; readonly tUp: string; readonly tLeft: string; readonly tRight: string; } export declare function getBorderChars(style: BorderStyle): BorderChars; export interface LayoutConstants { /** Default gutter width for aligned columns */ readonly gutterWidth: number; /** Minimum terminal width to show full layout */ readonly minTerminalWidth: number; /** Default panel padding */ readonly panelPadding: number; /** Default border style */ readonly defaultBorder: BorderStyle; } export declare const layout: LayoutConstants; export type Breakpoint = "compact" | "narrow" | "wide"; export interface BreakpointConfig { readonly compact: number; readonly narrow: number; } export declare const breakpoints: BreakpointConfig; /** * Determine the current breakpoint from terminal width. */ export declare function getBreakpoint(width: number): Breakpoint; /** * Check if the current width matches a breakpoint. */ export declare function isBreakpoint(width: number, bp: Breakpoint): boolean; //# sourceMappingURL=spacing.d.ts.map