/**
 * Shared formatting utilities for workflow execution metrics.
 *
 * Consolidates formatting logic previously duplicated across
 * WorkflowExecutionViewer, WorkflowExecutionHeader,
 * WorkflowExecutionCostPanel, WorkflowExecutionTaskPanel,
 * and WorkflowExecutionTimelineEvent.
 *
 * @since T05 (Runtime Inspector)
 */
/**
 * Formats a duration in milliseconds to a human-readable string.
 *
 * Output examples: `42ms`, `1.3s`, `2m 15s`, `1h 30m`
 */
export declare function formatDuration(ms: number): string;
/**
 * Formats a cost in micro-USD (1 USD = 1,000,000 micros) to a dollar string.
 *
 * Output examples: `$0.0012`, `$0.19`, `$4.50`
 *
 * Uses 4 decimal places for sub-cent amounts, 2 otherwise.
 */
export declare function formatMicroUsd(micros: bigint): string;
/**
 * Formats a token count to a human-readable abbreviated string.
 *
 * Output examples: `850`, `12.4K`, `1.5M`
 */
export declare function formatTokenCount(tokens: bigint): string;
/**
 * Formats a byte count to a human-readable string.
 *
 * Output examples: `128 B`, `4.2 KB`, `1.5 MB`
 */
export declare function formatBytes(bytes: bigint): string;
/**
 * Formats an ISO 8601 timestamp to a locale-aware time string (HH:MM:SS).
 */
export declare function formatTimestamp(iso: string): string;
/**
 * Formats a duration in whole seconds to a human-readable string.
 *
 * Unlike {@link formatDuration} (which takes milliseconds), this is for
 * API responses that report durations in seconds (e.g., execution summaries).
 *
 * Output examples: `42s`, `3m`, `1h 30m`
 */
export declare function formatDurationSec(seconds: number): string;
/**
 * Builds a compact "duration · cost · tokens" chip string from metrics.
 * Omits zero/absent values. Returns `null` if all values are empty.
 *
 * Output example: `1.3s · $0.19 · 12,400 tok`
 */
export declare function formatMetaChips(opts: {
    readonly durationMs?: number;
    readonly costMicros?: bigint;
    readonly tokens?: bigint;
}): string | null;
//# sourceMappingURL=format-utils.d.ts.map