import type { TestError } from '@playwright/test/reporter'; export declare function parseError(error: TestError): { message: string; stack: string; snippet: string; };