/** * Cost estimation for cloud resources. * * Extracts resource details from Terraform plans, shell commands, etc. * and estimates monthly cost. */ import type { ResourceChange } from '../resources/types.js'; import type { MutationIntent } from '../core/index.js'; export interface CostEstimate { /** Estimated monthly cost in USD */ monthlyCost: number; /** Cost breakdown by component */ breakdown?: CostBreakdown[]; /** Whether this is a cost increase (+) or decrease (-) */ direction: 'increase' | 'decrease' | 'unchanged'; /** Confidence level in the estimate */ confidence: 'high' | 'medium' | 'low'; /** Resource details used for estimation */ details?: { provider?: string; resourceType?: string; instanceType?: string; region?: string; }; } export interface CostBreakdown { component: string; monthlyCost: number; unit?: string; quantity?: number; } /** * Estimate cost for a Terraform resource change. */ export declare function estimateTerraformCost(change: ResourceChange): CostEstimate; /** * Estimate cost from a mutation intent (shell command, MCP call). */ export declare function estimateMutationCost(intent: MutationIntent): CostEstimate; //# sourceMappingURL=estimator.d.ts.map