import { formatDuration, truncate, shortSessionId, statusGlyph } from "../../../utils/display-helpers.ts"; export { formatDuration, truncate, shortSessionId, statusGlyph }; /** * Compute a consistent content width based on terminal columns. * Clamped to [60, 96] for readability on wide terminals. */ export declare function contentWidth(): number; /** Whether the terminal is in narrow mode (< 70 cols). */ export declare function isNarrow(): boolean; export declare function sleep(ms: number): Promise; export declare function statusColor(status: string): (s: string) => string; /** * Format a status line item: colored glyph + padded status word. * Total width: 11 chars. */ export declare function statusCell(status: string): string; export declare function parseMetricKey(key: string): { name: string; labels: Record; }; export declare function formatPromLabels(labels: Record): string; export declare function histogramPercentile(buckets: Record, count: number, pct: number): number; //# sourceMappingURL=monitor-helpers.d.ts.map