import type { AgentTool, AgentToolContext, AgentToolResult, AgentToolUpdateCallback } from "@gajae-code/agent-core"; import * as z from "zod/v4"; import type { ToolSession } from "./index"; declare const monitorKindEnum: z.ZodEnum<{ log: "log"; other: "other"; poll: "poll"; watch: "watch"; }>; declare const monitorSchema: z.ZodObject<{ command: z.ZodString; kind: z.ZodEnum<{ log: "log"; other: "other"; poll: "poll"; watch: "watch"; }>; description: z.ZodString; timeout: z.ZodOptional; persistent: z.ZodOptional; }, z.core.$strip>; export type MonitorParams = z.infer; export interface MonitorToolDetails { taskId: string; kind: z.infer; description: string; command: string; persistent: boolean; } export declare class MonitorTool implements AgentTool { private readonly session; readonly name = "monitor"; readonly label = "Monitor"; readonly summary = "Start a background monitor that streams stdout lines as task notifications"; readonly description: string; readonly parameters: z.ZodObject<{ command: z.ZodString; kind: z.ZodEnum<{ log: "log"; other: "other"; poll: "poll"; watch: "watch"; }>; description: z.ZodString; timeout: z.ZodOptional; persistent: z.ZodOptional; }, z.core.$strip>; readonly strict = true; readonly loadMode = "discoverable"; constructor(session: ToolSession); static createIf(session: ToolSession): MonitorTool | null; execute(toolCallId: string, params: MonitorParams, _signal?: AbortSignal, _onUpdate?: AgentToolUpdateCallback, context?: AgentToolContext): Promise>; } export {};