import type { Theme } from "@earendil-works/pi-coding-agent"; export type { Theme }; /** Horizontal rule spanning the full width, themed as a border. */ export declare function rule(width: number, theme: Theme): string; export declare function cursor(isSelected: boolean, theme: Theme): string; export declare function muted(text: string, theme: Theme): string; export declare function accent(text: string, theme: Theme): string; export declare function accentBold(text: string, theme: Theme): string; /** * Truncate a potentially-ANSI string to a visible width, padding with * spaces if shorter. ANSI-safe column alignment (Iron Law 10). */ export declare function padOrTruncate(text: string, width: number): string; /** * Truncate every line to the given visible width. Final safety guard in * every screen's render (Iron Law 2, layer 1). */ export declare function truncateLines(lines: string[], width: number): string[]; /** Alias matching the config-tui screens/shared.ts vocabulary. */ export declare function safeLines(lines: string[], width: number): string[];