import type { TestResult } from '@zosmaai/zosma-qa-core'; import type { Browser } from 'webdriverio'; /** * Test execution context passed to test functions. */ export interface TestContext { driver: Browser; } /** * Test function signature. */ export type TestFn = (context: TestContext) => Promise; /** * Test case definition. */ export interface TestCase { name: string; fn: TestFn; } /** * Hook definitions. */ interface HookRegistry { beforeEach: TestFn[]; afterEach: TestFn[]; } /** * Test suite definition. */ export interface TestSuite { name: string; tests: TestCase[]; hooks: HookRegistry; } /** * Executes a single test with hooks and error handling. */ export declare function executeTest(testCase: TestCase, context: TestContext, beforeEachHooks: TestFn[], afterEachHooks: TestFn[]): Promise; /** * Executes all tests in a suite. */ export declare function executeTestSuite(suite: TestSuite, context: TestContext): Promise; export {}; //# sourceMappingURL=test-executor.d.ts.map