/** * How a run's actual spend is phrased, in one place. * * Shared by the terminal and HTML renderers so the two cannot drift - the same * reason `variance.ts` exists, after the HTML report was found missing a * caveat the terminal already printed. */ import type { RunSpend } from '../types.js'; /** USD to a fixed 4 decimals: sub-cent runs are real and must not round to $0.00. */ export declare function formatUsd(usd: number): string; /** * One honest line describing what a run cost, or undefined when the run * carries no recorded spend. * * Returning undefined (rather than a $0.0000 line) is the point: an absent * figure means "not recorded", and printing a zero would tell the user a paid * run was free. Same rule as rendering an unmeasured score as "not assessed". * * The setup/engine split is shown because setup money (brand discovery and * query generation) is spent BEFORE the confirm gate's main ask, so a user * reconciling a bill or tuning `--max-cost` needs to see where it went. */ export declare function spendLine(spend: RunSpend | undefined): string | undefined;