import '../entities/terminal_session.dart';

/// Repository interface for terminal session operations.
abstract class TerminalRepository {
  /// Connects to a server terminal and returns the session.
  Future<TerminalSession> connect(String serverId);

  /// Disconnects from a terminal session.
  Future<void> disconnect(String sessionId);

  /// Fetches all active terminal sessions.
  Future<List<TerminalSession>> getActiveSessions();
}
