export type Theme = { fg(color: string, text: string): string; bold(text: string): string; }; export type DashboardTheme = ReturnType; export type BoxChars = { tl: string; tr: string; bl: string; br: string; l: string; r: string; h: string; ml: string; mr: string; }; export declare function getThemeColors(): { border: string; title: string; dim: string; muted: string; highlight: string; accent: string; success: string; error: string; reset: string; bgCard: string; bgSelected: string; bgHeader: string; }; export declare function getBoxChars(): BoxChars; export declare function plainTheme(): Theme; export declare function activeTheme(theme: Theme): Theme; export declare function padVisible(content: string, width: number): string; /** Skip expensive truncateToWidth when the string already fits. */ export declare function fastTruncate(str: string, maxWidth: number): string; export declare function padAndTruncate(str: string, targetWidth: number): string; export declare function framedRow(content: string, innerW: number, th: DashboardTheme, box: BoxChars): string; export declare function borderLine(width: number, th: DashboardTheme, box: BoxChars, pos: "top" | "mid" | "bottom"): string;