import type { HTMLAttributes } from "react";
/**
* TokenCostBreakdown — a `
` breakdown of a request's/span's/trace's token
* usage and USD cost: input, output, cache tokens, total, and cost. Controlled
* and pure — the consumer supplies the numbers; nothing is fetched.
*
* Honest zeros (M9 SessionSummary convention): a real `0` renders `0` /
* `$0.0000`; an ABSENT (undefined) field renders `—` (em-dash) — it is never
* fabricated as a zero. When EVERY field is absent, an honest empty state
* renders instead of a table of em-dashes.
*
*
*/
export interface TokenCostBreakdownProps extends HTMLAttributes {
inputTokens?: number;
outputTokens?: number;
cacheTokens?: number;
totalTokens?: number;
costUsd?: number;
/** USD cost formatter. Default `$0.0000`. */
formatCostUsd?: (usd: number) => string;
className?: string;
}
declare const TokenCostBreakdown: import("react").ForwardRefExoticComponent>;
export { TokenCostBreakdown };