/** * formatEvent turns a progress event into a single human-readable markdown line. * Shared by the stdout sink (printed as-is) and the Telegram sink (which then * runs it through renderTelegramHtml). Pure (no I/O) so it is unit-tested * directly and both sinks render identical content. */ import type { ProgressEvent } from "../ports/progress.ts"; export declare function formatEvent(event: ProgressEvent): string; /** * Formats a millisecond duration as a compact human string: "45s", "2m5s", * "1h3m". Seconds are dropped once past an hour (minute resolution is enough * for a long run). Used by the heartbeat line so the user sees how long the * current step has been running. */ export declare function formatDuration(ms: number): string;