import { z } from "zod";
import type { AgentTool } from "@prestyj/agent";
import type { AgentDefinition } from "../core/agents.js";
import { type GoalMode } from "../core/runtime-mode.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;
}, goalModeRef?: {
    current: GoalMode;
}): AgentTool<typeof SubAgentParams>;
export {};
//# sourceMappingURL=subagent.d.ts.map