/** * [WHO]: TaskStop tool - marks a task as completed (Catui has no background processes) * [FROM]: Depends on @sinclair/typebox, ../task-store, ../task-types * [TO]: Consumed by task extension via registerTool() * [HERE]: extensions/builtin/task/task-tools/task-stop-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 taskStopSchema: import("@sinclair/typebox").TObject<{ task_id: import("@sinclair/typebox").TString; }>; export type TaskStopInput = Static; export declare function createTaskStopTool(resolveTaskListId: (ctx: ExtensionContext) => string): { name: string; label: string; description: string; aliases: string[]; parameters: import("@sinclair/typebox").TObject<{ task_id: import("@sinclair/typebox").TString; }>; renderCall: (args: unknown, theme: Theme) => Component; renderResult: (result: AgentToolResult, _opts: { expanded: boolean; isPartial: boolean; }, theme: Theme) => Component; guidance: string; execute(_toolCallId: string, params: TaskStopInput, _signal: AbortSignal | undefined, _onUpdate: undefined, ctx: ExtensionContext): Promise>; }; export {};