import type { RuntimeEventBus } from '../events/index.js'; import type { EmitterContext } from './index.js'; /** Emit TASK_CREATED when a new task enters the queue. */ export declare function emitTaskCreated(bus: RuntimeEventBus, ctx: EmitterContext, data: { taskId: string; agentId?: string; description: string; priority: number; }): void; /** Emit TASK_STARTED when task execution begins. */ export declare function emitTaskStarted(bus: RuntimeEventBus, ctx: EmitterContext, data: { taskId: string; agentId?: string; }): void; /** Emit TASK_BLOCKED when a task is waiting on a dependency. */ export declare function emitTaskBlocked(bus: RuntimeEventBus, ctx: EmitterContext, data: { taskId: string; agentId?: string; reason: string; }): void; /** Emit TASK_PROGRESS when a task makes measurable progress. */ export declare function emitTaskProgress(bus: RuntimeEventBus, ctx: EmitterContext, data: { taskId: string; agentId?: string; progress: number; message?: string; }): void; /** Emit TASK_COMPLETED when a task finishes successfully. */ export declare function emitTaskCompleted(bus: RuntimeEventBus, ctx: EmitterContext, data: { taskId: string; agentId?: string; durationMs: number; }): void; /** Emit TASK_FAILED when a task fails. */ export declare function emitTaskFailed(bus: RuntimeEventBus, ctx: EmitterContext, data: { taskId: string; agentId?: string; error: string; durationMs: number; }): void; /** Emit TASK_CANCELLED when a task is cancelled. */ export declare function emitTaskCancelled(bus: RuntimeEventBus, ctx: EmitterContext, data: { taskId: string; agentId?: string | undefined; reason?: string | undefined; }): void; //# sourceMappingURL=tasks.d.ts.map