import { type ReactElement } from 'react';
export type AiMetricsLiveState = 'idle' | 'pending' | 'success' | 'error';
export interface AiMetricsLiveData {
    readonly inputTokens?: number;
    readonly outputTokens?: number;
    readonly latencyMs?: number;
    readonly costAmount?: number;
    readonly costCurrency?: string;
    readonly providerCode?: string;
    readonly modelCode?: string;
    readonly modelName?: string;
}
interface AiMetricsLiveProps {
    readonly state: AiMetricsLiveState;
    readonly metrics?: AiMetricsLiveData;
    readonly error?: string | null;
}
/**
 * Inline live-metrics widget for AI calls. Shows a spinner during generation,
 * tokens / latency / model after success, and the error message on failure. Use
 * in the footer of any modal or section that triggers an AI completion.
 */
export declare function AiMetricsLive({ state, metrics, error }: AiMetricsLiveProps): ReactElement | null;
export {};
//# sourceMappingURL=AiMetricsLive.d.ts.map