import type { EvaluatorPlugin, EvalContext, EvalResult, BoberConfig } from "../plugin-interface.js"; export declare class PlaywrightEvaluator implements EvaluatorPlugin { readonly name = "Playwright E2E"; readonly description = "Runs Playwright end-to-end tests and reports results."; canRun(projectRoot: string, _config: BoberConfig): Promise; evaluate(context: EvalContext): Promise; /** * Check if the playwright.config.ts has a webServer configuration block. * If it does, Playwright will manage the dev server itself. */ private configHasWebServer; private runPlaywright; /** * Try to read the JSON results file from the e2e-results directory. * This is more reliable than parsing stdout because the JSON reporter * writes directly to a file. */ private readJsonResultsFile; private buildFromReport; private buildFeedback; private errorResult; } /** * Factory function for the registry. */ export declare function createPlaywrightEvaluator(): EvaluatorPlugin; //# sourceMappingURL=playwright.d.ts.map