import { SystemMessage } from '@langchain/core/messages'; import { StructuredTool } from '@langchain/core/tools'; import { z } from 'zod'; import type { AgentTaskDescriptor, AgentTaskInput, AgentTaskToolRuntime } from './types'; import type { ChatLunaToolRunnable } from '../../platform/types'; export declare function buildTaskToolDescription(): string; export declare function renderAvailableAgents(agents: AgentTaskDescriptor[], dir?: string, location?: 'local' | 'remote'): SystemMessage; declare class AgentTaskTool extends StructuredTool { private _runtime; name: string; description: string; schema: z.ZodEffects>; agent: z.ZodOptional; id: z.ZodOptional; prompt: z.ZodOptional; goal: z.ZodOptional; reason: z.ZodOptional; background: z.ZodOptional; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { id?: string; prompt?: string; message?: string; action?: "status" | "list" | "message" | "run" | "stop" | "list_all"; agent?: string; background?: boolean; goal?: string; reason?: string; }, { id?: string; prompt?: string; message?: string; action?: "status" | "list" | "message" | "run" | "stop" | "list_all"; agent?: string; background?: boolean; goal?: string; reason?: string; }>, { id?: string; prompt?: string; message?: string; action?: "status" | "list" | "message" | "run" | "stop" | "list_all"; agent?: string; background?: boolean; goal?: string; reason?: string; }, { id?: string; prompt?: string; message?: string; action?: "status" | "list" | "message" | "run" | "stop" | "list_all"; agent?: string; background?: boolean; goal?: string; reason?: string; }>; constructor(name: string, _runtime: AgentTaskToolRuntime); _call(input: AgentTaskInput, _: unknown, runConfig?: ChatLunaToolRunnable): Promise; } export { AgentTaskTool };