// Token usage helpers shared by session footer and context-usage command.
export function getTokenTotal(tokens) {
    return (tokens.input +
        tokens.output +
        tokens.reasoning +
        tokens.cache.read +
        tokens.cache.write);
}
export function hasNonZeroTokenUsage(tokens) {
    return getTokenTotal(tokens) > 0;
}
