import { HostedSessionConfig } from '../../domain/entities/HostedSessionConfig';
import { StepId } from '../../domain/value-objects/StepId';

export interface ValidationResult {
  isValid: boolean;
  error?: string;
}

export interface IAutomationEngine {
  validateConfiguration(config: HostedSessionConfig): Promise<ValidationResult>;
  executeStep(stepId: StepId, config: HostedSessionConfig): Promise<void>;
  stopAutomation(): void;
}