/**
 * Compute the total consumption duration in seconds.
 * When `expiredAt` is undefined, duration is elapsed time since `startedAt`.
 */
export declare function getConsumptionDuration(startedAt: number, expiredAt?: number, nowSeconds?: number): number;
/**
 * Compute credit consumption progress (0-100).
 * Mirrors ConsumptionBar logic:
 * - if no `expiredAt`, progress is 100
 * - otherwise progress is elapsed / duration clamped to [0, 100]
 */
export declare function getConsumptionProgress(startedAt: number, expiredAt?: number, nowSeconds?: number): number;
