/** Generate a unique agent name. */ export declare function generateAgentName(): string; /** Mask a secret: show first 4 chars, then ****. */ export declare function maskSecret(value: string | undefined): string; /** Format a Unix timestamp (seconds) to readable date. Returns "—" for falsy values. */ export declare function formatTimestamp(ts: number | undefined): string; /** Convert a Unix timestamp to a relative time string. */ export declare function relativeTime(ts: number | undefined): string; /** Format a duration in seconds to human-readable string. */ export declare function formatDuration(seconds: number): string; /** Color-code a latency value: green < 1000ms, yellow 1000-2000ms, red > 2000ms. */ export declare function colorLatency(ms: number | undefined): string; /** Format a role for conversation display. */ export declare function formatRole(role: string): string; /** Calculate average of an array of numbers, ignoring undefined. */ export declare function averageOf(values: (number | undefined)[]): number;