/**
 * Performance Analyzer - Workflow Performance Analysis
 *
 * Analyze workflows for performance bottlenecks, resource usage,
 * and optimization opportunities.
 */
import type { Workflow } from './generator.js';
export interface PerformanceMetrics {
    complexity: 'low' | 'medium' | 'high' | 'very-high';
    estimatedExecutionTime: number;
    nodeCount: number;
    connectionCount: number;
    depth: number;
    parallelPaths: number;
    bottlenecks: BottleneckInfo[];
    recommendations: string[];
}
export interface BottleneckInfo {
    type: 'sequential-dependency' | 'excessive-branching' | 'heavy-computation' | 'external-api';
    location: string;
    impact: 'low' | 'medium' | 'high';
    description: string;
}
/**
 * Analyze workflow performance
 */
export declare function analyzePerformance(workflow: Workflow): PerformanceMetrics;
/**
 * Calculate resource usage estimate
 */
export declare function estimateResourceUsage(workflow: Workflow): {
    memory: 'low' | 'medium' | 'high';
    cpu: 'low' | 'medium' | 'high';
    network: 'low' | 'medium' | 'high';
};
//# sourceMappingURL=analyzer.d.ts.map