import { OpsTask } from '../../entities/ops-task.entity';

export interface DryRunResult {
  steps: string[];
  estimatedDuration: number;
  riskLevel: number;
  warnings: string[];
}

export interface ExecuteRunbookPort {
  execute(runbookId: string, targetServerIds: string[], triggerContext?: Record<string, unknown>): Promise<OpsTask>;
  dryRun(runbookId: string, targetServerIds: string[]): Promise<DryRunResult>;
}
