import type { AgentTool } from "@earendil-works/pi-agent-core"; import { Type } from "typebox"; import type { ConversationResponder } from "../../types.js"; export declare const START_TASK_TOOL = "start_task"; export declare const TASK_STATUS_TOOL = "task_status"; export declare const RESUMED_TASK_PROMPT = "[mikan] The service restarted while you were working on this task, so the step in progress was interrupted. Check what that step already did, rerun it only if it is safe to repeat, and finish the task."; export declare function taskRunId(root: string): string; export declare function resumedTaskRunId(root: string): string; export declare function isTaskRunId(id: string): boolean; export declare function createTaskTool(): { tool: AgentTool, any>; setTaskFunction: (fn: ConversationResponder["startTask"]) => void; }; export declare function createTaskTools(): { tools: (AgentTool, any> | AgentTool; }>, any>)[]; bindTasks(responder: ConversationResponder): void; }; //# sourceMappingURL=task.d.ts.map