import { z } from "zod";
import type { AgentTool } from "@kenkaiiii/gg-agent";
import type { AgentDefinition } from "../core/agents.js";
declare const SubAgentParams: z.ZodObject<{
    task: z.ZodString;
    agent: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export interface SubAgentUpdate {
    toolUseCount: number;
    tokenUsage: {
        input: number;
        output: number;
    };
    currentActivity?: string;
}
export interface SubAgentDetails {
    toolUseCount: number;
    tokenUsage: {
        input: number;
        output: number;
    };
    durationMs: number;
}
export declare function createSubAgentTool(cwd: string, agents: AgentDefinition[], getParentProvider: () => string, getParentModel: () => string, getParentCacheKey?: () => string | undefined, planModeRef?: {
    current: boolean;
}): AgentTool<typeof SubAgentParams>;
export {};
//# sourceMappingURL=subagent.d.ts.map