import { z } from "zod"; import type { AgentTool } from "@kenkaiiii/gg-agent"; import type { VideoHost } from "../core/hosts/types.js"; import type { DirectorConfig } from "./types.js"; declare const DelegateParams: z.ZodObject<{ task: z.ZodString; expected_outputs: z.ZodOptional>; }, z.core.$strip>; interface CreateDelegateToolOptions { host: VideoHost; cwd: string; config: DirectorConfig; /** Tracks total delegations to enforce maxDelegations. */ state: { delegations: number; }; /** Optional event hook (e.g. for the TUI to show "executor: ..." lines). */ onEvent?: (kind: string, payload: unknown) => void; } export declare function createDelegateTool(opts: CreateDelegateToolOptions): AgentTool; export {}; //# sourceMappingURL=delegate-tool.d.ts.map