/** * [WHO]: TaskList tool - lists all tasks in the task list * [FROM]: Depends on @sinclair/typebox, ../task-store, ../task-types * [TO]: Consumed by task extension via registerTool() * [HERE]: extensions/builtin/task/task-tools/task-list-tool.ts */ import type { Static } from "@sinclair/typebox"; import type { AgentToolResult } from "@catui/agent-core"; import type { ExtensionContext } from "../../../../core/extensions-host/types.js"; import { type Component } from "@catui/tui"; import type { Theme } from "../../../../core/theme-contract.js"; declare const taskListSchema: import("@sinclair/typebox").TObject<{}>; export type TaskListInput = Static; export declare function createTaskListTool(resolveTaskListId: (ctx: ExtensionContext) => string): { name: string; label: string; description: string; parameters: import("@sinclair/typebox").TObject<{}>; renderCall: (_args: unknown, theme: Theme) => Component; renderResult: (result: AgentToolResult, _opts: { expanded: boolean; isPartial: boolean; }, theme: Theme) => Component; guidance: string; execute(_toolCallId: string, _params: TaskListInput, _signal: AbortSignal | undefined, _onUpdate: undefined, ctx: ExtensionContext): Promise>; }; export {};