import { AutomationSession } from '../../domain/entities/AutomationSession';
import { SessionStateValue } from '../../domain/value-objects/SessionState';

export interface ISessionRepository {
  save(session: AutomationSession): Promise<void>;
  findById(id: string): Promise<AutomationSession | null>;
  update(session: AutomationSession): Promise<void>;
  delete(id: string): Promise<void>;
  findAll(): Promise<AutomationSession[]>;
  findByState(state: SessionStateValue): Promise<AutomationSession[]>;
}