/** * Scheduled-task check extracted from wait-tool.ts. * * Checks for due scheduled tasks and returns an appropriate ToolResult * when a task fires (including DMN sentinel handling), or null if nothing is due. */ import type { ToolResult } from "../../lib/types.js"; interface TaskContext { state: { lastOperatorMessageAt: number; sessionStartedAt: number; }; generateDmnReflection: (threadId: number) => string; } /** * Check whether any scheduled task is due for the given thread. * * Returns a `ToolResult` ready to be returned from the wait-tool when a task * fires, or `null` when nothing is due. * * Used from both the idle-poll check (inside the loop) and the post-timeout * check (after the loop exits). */ export declare function checkForDueTasks(ctx: TaskContext, effectiveThreadId: number): ToolResult | null; export {}; //# sourceMappingURL=task-handler.d.ts.map