import { Request, Response } from 'express';
import type { ApiContext } from '../types.js';
/**
 * Reset the in-flight setup state.
 * Exported for testing purposes only.
 */
export declare function _resetSetupInFlightState(): void;
export declare function getOrchestratorCommands(this: ApiContext, req: Request, res: Response): Promise<void>;
export declare function executeOrchestratorCommand(this: ApiContext, req: Request, res: Response): Promise<void>;
export declare function sendOrchestratorMessage(this: ApiContext, req: Request, res: Response): Promise<void>;
export declare function sendOrchestratorEnter(this: ApiContext, req: Request, res: Response): Promise<void>;
/**
 * Setup the orchestrator session with deduplication guard.
 *
 * If a setup is already in progress (from a concurrent request), returns
 * the result of the in-flight setup rather than creating a second session.
 * This prevents the 5-7x concurrent calls observed on page load from
 * each triggering a separate session creation.
 *
 * @param req - Express request object
 * @param res - Express response object
 */
export declare function setupOrchestrator(this: ApiContext, req: Request, res: Response): Promise<void>;
export declare function getOrchestratorHealth(this: ApiContext, req: Request, res: Response): Promise<void>;
export declare function stopOrchestrator(this: ApiContext, req: Request, res: Response): Promise<void>;
export declare function assignTaskToOrchestrator(this: ApiContext, req: Request, res: Response): Promise<void>;
export declare function updateOrchestratorRuntime(this: ApiContext, req: Request, res: Response): Promise<void>;
/**
 * Get simple orchestrator status for UI checks.
 *
 * Returns whether the orchestrator is active and a user-friendly message.
 * This is a lightweight endpoint for frontend status checks.
 *
 * @param req - Express request object
 * @param res - Express response object
 */
export declare function getOrchestratorStatus(this: ApiContext, req: Request, res: Response): Promise<void>;
//# sourceMappingURL=orchestrator.controller.d.ts.map