import type { Component } from '../component.js'; import type { Color } from '../types.js'; export type BorderStyle = 'cap' | 'capHalf' | 'brace' | 'dot' | 'asterisk'; export interface Segment { content: string; color?: Color; borderStyle?: BorderStyle; } export interface SegmentsOptions { segments: Segment[]; } /** * Segments component - renders decorated segments with automatic dividers * * Segments are decorated with borders/symbols on the default terminal background, * and automatically connected with dash dividers (─). Content is automatically padded. * * Simple API: * - content: Text content (padding added automatically) * - color: Text color (borders use same color) * - borderStyle: Border decoration style (default: 'cap') * * Border styles: 'cap' (default), 'capHalf', 'brace', 'dot', 'asterisk' */ export declare function Segments(options: SegmentsOptions): Component; //# sourceMappingURL=segments.d.ts.map