export interface PlaywrightRunnerResult { success: boolean; passed: number; failed: number; skipped: number; totalSteps: number; results: PlaywrightTestResult[]; errorOutput?: string; } export interface PlaywrightTestResult { title: string; status: 'passed' | 'failed' | 'skipped' | 'timedOut'; duration: number; error?: string; } /** * Playwright テストスクリプトをサブプロセスで実行し、結果を返す。 * * @param scriptContent - 実行する JavaScript テストコード * @param executionId - ログ追跡用の実行 ID(英数字・ハイフン・アンダースコアのみ許可) * @param agentRootDir - エージェントのルートディレクトリ(node_modules/.bin/playwright が存在する場所) */ export declare function runPlaywrightScript(scriptContent: string, executionId: string, agentRootDir: string): Promise; //# sourceMappingURL=playwright-test-runner.d.ts.map