/** * 🧠 Dynamic AI Test Executor - 100% AI-Driven * No static parsing, no hardcoded steps, no predefined flows * Everything is handled by the AI agent dynamically * * Inspired by Endorphin AI's fully dynamic approach */ import { Browser } from 'webdriverio'; import type { TestDefinition, TestRunOptions, AIExecutionResult, TokenUsage, FrameworkConfig, ExecutionStats } from '../../types'; export declare class DynamicAITestExecutor { private browser; private smartAgent; private costTracker; private steps; private screenshots; private tokenUsage; private currentSession; constructor(config?: FrameworkConfig); /** * Set browser and initialize Smart AI Agent with tools */ setBrowser(browser: Browser): void; /** * 🚀 Execute test with 100% AI-driven approach * No static parsing, no hardcoded steps, no predefined flows */ executeTest(test: TestDefinition, options?: TestRunOptions): Promise; /** * Add execution step (for tracking purposes only) */ private addStep; /** * Get total token usage from AI agent */ getTotalTokenUsage(): TokenUsage; /** * Get execution statistics */ getExecutionStats(): Promise; /** * Get Smart AI Agent statistics */ getSmartAgentStats(): import("./SmartAIAgent").TestSession | null; /** * Clear session and reset */ clearSession(): void; /** * Enable/disable Smart AI Agent */ setSmartAgentMode(enabled: boolean): void; /** * Track cost for a test execution (compatibility method) */ trackTestCost(testId: string, sessionId: string, executionTime: number, success: boolean): Promise; } //# sourceMappingURL=DynamicAITestExecutor.d.ts.map