/**
 * Copyright: (c) Myia SAS 2026.
 * This file and its contents are licensed under the AGPLv3 License.
 * Please see the LICENSE file at the root of this repository
 */
import type { TestInfo } from '@playwright/test';
export interface CapturedContext {
    testId: string;
    attempt: number;
    executionId: string;
    testCaseId?: number;
}
export interface TestContextHooks {
    setContext(ctx: Record<string, unknown> | null): void;
}
export interface PlaywrightTestContextAdapterOptions {
    resolveExecutionId(): string;
}
export declare class PlaywrightTestContextAdapter {
    private readonly hooks;
    private readonly options;
    constructor(hooks: TestContextHooks, options: PlaywrightTestContextAdapterOptions);
    capture(testInfo: TestInfo): CapturedContext;
}
