import { Page } from 'playwright'; import type { WorkflowStepResult, WorkflowExecutionResult, WorkflowCheckpoint } from '../types/workflow.js'; interface WorkflowStep { [command: string]: any; } interface WorkflowOptions { strict?: boolean; variables?: Record; timeout?: number; captureOutput?: boolean; onStepStart?: (stepNumber: number, command: string, args: any) => void; onStepComplete?: (stepNumber: number, command: string, success: boolean) => void; debug?: boolean; } export declare class WorkflowExecutor { private page; private stepResults; private originalPrompt?; private checkpoints; constructor(page: Page, originalPrompt?: string); getStepResults(): WorkflowStepResult[]; getCheckpoints(): WorkflowCheckpoint[]; execute(workflow: WorkflowStep[], options?: WorkflowOptions): Promise; private executeStep; private replaceVariables; private extractSelectorFromArgs; static formatResultsForAnalysis(result: WorkflowExecutionResult, originalPrompt: string, yamlContent: string): string; } export {};