/**
 * Serverless Cost Optimizer
 *
 * Analyzes usage patterns and provides optimization recommendations to reduce costs:
 * - Memory right-sizing
 * - Caching strategies
 * - Batching recommendations
 * - Reserved capacity
 * - Compression
 * - CDN usage
 */
import type { ServerlessPlatform } from './types.js';
import type { CostEstimationInput } from './cost-estimator.js';
/**
 * Types of optimization recommendations
 */
export type OptimizationType = 'memory' | 'caching' | 'batching' | 'reserved-capacity' | 'compression' | 'cdn';
/**
 * Individual optimization recommendation
 */
export interface OptimizationRecommendation {
    type: OptimizationType;
    description: string;
    estimatedSavings: number;
    implementationComplexity: 'low' | 'medium' | 'high';
    priority: 'high' | 'medium' | 'low';
}
/**
 * Complete cost optimization analysis result
 */
export interface CostOptimizationResult {
    currentCost: number;
    optimizedCost: number;
    potentialSavings: number;
    recommendations: OptimizationRecommendation[];
}
/**
 * Analyze usage and generate cost optimization recommendations
 *
 * @param platform - The serverless platform
 * @param input - Current usage parameters
 * @returns Optimization analysis with recommendations
 *
 * @example
 * ```typescript
 * const input = {
 *   requestsPerMonth: 5000000,
 *   avgExecutionTimeMs: 500,
 *   memoryMb: 1024,
 *   dataTransferGb: 50
 * };
 * const result = optimizeCost(platform, input);
 * console.log(`Potential savings: $${result.potentialSavings}/month`);
 * ```
 */
export declare function optimizeCost(platform: ServerlessPlatform, input: CostEstimationInput): CostOptimizationResult;
//# sourceMappingURL=cost-optimizer.d.ts.map