/**
 * Terminal Routes Module
 *
 * Registers API routes for terminal session management.
 * Uses ISessionBackend for PTY-based session operations.
 *
 * @module terminal-routes
 */
import { Router } from 'express';
import { ApiController } from '../../controllers/api.controller.js';
/**
 * Register terminal routes on the router.
 *
 * Routes:
 * - GET /terminal/sessions - List all sessions
 * - GET /terminal/:sessionName/exists - Check if session exists
 * - GET /terminal/:sessionName/output - Get session output (alias for capture)
 * - GET /terminal/:sessionName/capture - Capture terminal output (legacy)
 * - POST /terminal/:sessionName/write - Write data to session
 * - POST /terminal/:sessionName/deliver - Reliable message delivery with retry (requires ApiController)
 * - POST /terminal/:sessionName/input - Send input to session (legacy)
 * - POST /terminal/:sessionName/key - Send key to session
 * - DELETE /terminal/:sessionName - Kill session
 *
 * @param router - Express router to register routes on
 * @param apiController - Optional ApiController for endpoints that need AgentRegistrationService
 */
export declare function registerTerminalRoutes(router: Router, apiController?: ApiController): void;
//# sourceMappingURL=terminal.routes.d.ts.map