/** * @license * Copyright 2025 Vybestack LLC * SPDX-License-Identifier: Apache-2.0 */ /** * @plan PLAN-20260130-ASYNCTASK.P12 * @plan PLAN-20260130-ASYNCTASK.P14 * @requirement REQ-ASYNC-005 */ import { BaseDeclarativeTool, BaseToolInvocation, type ToolResult } from './tools.js'; import type { AsyncTaskManager } from '../services/asyncTaskManager.js'; export interface CheckAsyncTasksParams { task_id?: string; } export interface CheckAsyncTasksToolDependencies { getAsyncTaskManager?: () => AsyncTaskManager | undefined; } declare class CheckAsyncTasksInvocation extends BaseToolInvocation { private readonly taskManager; constructor(params: CheckAsyncTasksParams, taskManager: AsyncTaskManager); getDescription(): string; execute(): Promise; private executeList; private executePeek; private formatTaskDetails; private formatDuration; private formatTaskDisplay; } /** * Tool that allows querying the status of async tasks. * Two modes: * - List mode (no task_id): Shows summary of all tasks * - Peek mode (with task_id): Shows detailed info for specific task */ export declare class CheckAsyncTasksTool extends BaseDeclarativeTool { private readonly dependencies; static readonly Name = "check_async_tasks"; constructor(dependencies: CheckAsyncTasksToolDependencies); protected createInvocation(params: CheckAsyncTasksParams): CheckAsyncTasksInvocation; protected validateToolParamValues(): string | null; } export {};