/**
 * Automation Performance Profiler
 * Identifies bottlenecks in computer control operations
 */
interface PerformanceMetric {
    operation: string;
    startTime: number;
    endTime?: number;
    duration?: number;
    type: 'applescript' | 'screenshot' | 'cgevent' | 'accessibility' | 'mcp' | 'claude';
    metadata?: any;
}
interface PerformanceReport {
    totalDuration: number;
    operationBreakdown: Map<string, number>;
    bottlenecks: string[];
    recommendations: string[];
    detailedMetrics: PerformanceMetric[];
}
export declare class AutomationPerformanceProfiler {
    private metrics;
    private activeOperations;
    /**
     * Start timing an operation
     */
    startOperation(operationId: string, type: PerformanceMetric['type'], metadata?: any): void;
    /**
     * End timing an operation
     */
    endOperation(operationId: string): void;
    /**
     * Profile AppleScript execution
     */
    profileAppleScript(script: string): Promise<any>;
    /**
     * Profile screenshot capture
     */
    profileScreenshot(outputPath: string): Promise<void>;
    /**
     * Compare different automation methods
     */
    compareAutomationMethods(): Promise<void>;
    /**
     * Generate performance report
     */
    generateReport(): PerformanceReport;
    /**
     * Real-time performance monitoring
     */
    startRealTimeMonitoring(): void;
}
export declare const performanceProfiler: AutomationPerformanceProfiler;
export {};
//# sourceMappingURL=automation-performance-profiler.d.ts.map