import * as i0 from "@angular/core";
export interface AgentRunCostMetrics {
    totalCost: number;
    totalPrompts: number;
    totalTokensInput: number;
    totalTokensOutput: number;
    isLoading: boolean;
    error?: string;
}
export declare class AIAgentRunCostService {
    private costCache;
    private readonly CACHE_DURATION_MS;
    /**
     * Get comprehensive cost metrics for an agent run including all nested sub-runs
     * Uses the high-performance CalculateAIAgentRunCost templated query
     */
    getAgentRunCostMetrics(agentRunId: string, useCache?: boolean): Promise<AgentRunCostMetrics>;
    /**
     * Get just the total cost for display (simplified version)
     */
    getTotalCost(agentRunId: string, useCache?: boolean): Promise<number>;
    /**
     * Clear cache for specific agent run or all cached data
     */
    clearCache(agentRunId?: string): void;
    /**
     * Get cached metrics if they exist and are still valid
     */
    private getCachedMetrics;
    /**
     * Cache metrics for future use
     */
    private setCachedMetrics;
    static ɵfac: i0.ɵɵFactoryDeclaration<AIAgentRunCostService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<AIAgentRunCostService>;
}
//# sourceMappingURL=ai-agent-run-cost.service.d.ts.map