import { AIEngine } from '../../ai/ai-engine'; import { ActionEngine } from '../../engine/action-engine'; import { BrowserAutomation } from '../../index'; import { TestServer } from '../test-server'; export interface TestContext { automation: BrowserAutomation; actionEngine: ActionEngine; aiEngine: AIEngine; testServer: TestServer; } /** * Setup test context with browser automation and AI engine */ export declare function setupTestContext(): Promise; /** * Cleanup test context */ export declare function teardownTestContext(context: TestContext): Promise; /** * Initialize page for testing */ export declare function initializePage(automation: BrowserAutomation): Promise; /** * Test assertion helper */ export declare function assert(condition: boolean, message: string): void; /** * Execute and validate a test instruction */ export declare function executeTestInstruction(actionEngine: ActionEngine, instruction: string, testName: string, automation?: BrowserAutomation): Promise<{ success: boolean; steps: any[]; }>;