import type { FullResult, Reporter, TestCase, TestStep } from '@playwright/test/reporter'; import { TestExecution, TestExecutionStep } from '../types'; declare class JsonReporter implements Reporter { protected outputFile: string; protected executions: Map; constructor(config: any); private static getTitlePath; protected write(msg?: string): void; protected static isPwStepInStep(pwStep: TestStep, step: TestExecutionStep): boolean; onBegin(): void; protected static connectToRightStep(pwStep: TestStep, steps?: TestExecutionStep[]): void; onTestEnd(test: TestCase): Promise; onEnd(result: FullResult): void; static printsToStdio(): boolean; } export default JsonReporter;