import { DatabaseManager } from '../db/database.js'; import { AgentType } from '../models/types.js'; export declare class TaskExecutor { private database; private agents; private runningTasks; private onUpdate?; private updateTimeout; private startingTasks; private projectRoot?; constructor(database: DatabaseManager, onUpdate?: () => void, projectRoot?: string); private notifyUpdate; /** * Trigger a UI refresh. Called by TaskService when tasks are created externally (e.g., via MCP/API). */ triggerRefresh(): void; private getAgent; startTask(runId: string, agentType?: AgentType): Promise; sendMessageToTask(runId: string, message: string): Promise; stopTask(runId: string): Promise; isRunning(runId: string): boolean; isWaitingForInput(runId: string): boolean; } //# sourceMappingURL=TaskExecutor.d.ts.map