import type { TestCase } from '@playwright/test/reporter'; import { type RunPlatform, type TestInfoWithPlatformHints } from './project-type'; export declare enum ExecutionPlatform { UNKNOWN_EXECUTION_PLATFORM = 0, WEB_EXECUTION_PLATFORM = 1, IOS_EXECUTION_PLATFORM = 2, ANDROID_EXECUTION_PLATFORM = 3 } export declare enum ScreenOrientation { UNKNOWN_SCREEN_ORIENTATION = 0, PORTRAIT_SCREEN_ORIENTATION = 1, LANDSCAPE_SCREEN_ORIENTATION = 2 } export interface ExecutionDeviceContext { platform?: ExecutionPlatform; deviceFamily?: string; osVersion?: string; screenResolution?: string; screenOrientation?: ScreenOrientation; } export declare function runPlatformToExecutionPlatform(p: RunPlatform): ExecutionPlatform; /** Resolve project + annotations from a reporter TestCase (no TestInfo in onTestEnd). */ export declare function platformHintsFromTestCase(test: TestCase): TestInfoWithPlatformHints; /** * Build execution device context from the Playwright/Mobilewright project that ran this test. * Accepts TestInfo (fixtures/runtime) or TestCase (reporter onTestEnd). */ export declare function buildExecutionDeviceContext(source: TestInfoWithPlatformHints | TestCase): ExecutionDeviceContext; //# sourceMappingURL=execution-context.d.ts.map