/**
 * Consumption progress bar properties
 */
export interface IConsumptionBarProps {
    /**
     * Credits burning rate per second
     */
    burningRate: number;
    /**
     * Consumption start timestamp
     */
    startedAt: number;
    /**
     * Consumption expiration timestamp
     */
    expiredAt?: number;
    /**
     * Progress bar refresh interval in milliseconds
     */
    refreshInterval?: number;
    /**
     * Component CSS styles
     */
    style?: React.CSSProperties;
    /**
     * Callback on progress bar click event
     */
    onClick?: () => void;
    /**
     * Callback on progress update.
     *
     * Progress is a percentage between 0 and 100.
     * Duration is the kernel max duration in seconds.
     */
    onUpdate?: (progress: number, duration: number) => void;
}
/**
 * Consumption progress bar
 */
export declare function ConsumptionBar(props: IConsumptionBarProps): JSX.Element;
