import type { ToolDefinition } from "./types.js";
export interface SubagentOptions {
    prompt: string;
    systemPrompt: string;
    tools: ToolDefinition[];
    cwd: string;
    signal: AbortSignal;
    model?: string;
    log?: (msg: string) => void;
    thinking?: boolean;
}
export interface SubagentResult {
    text: string;
    toolCallCount: number;
    inputTokens: number;
    outputTokens: number;
}
export declare function runSubagent(opts: SubagentOptions): Promise<SubagentResult>;
//# sourceMappingURL=subagent.d.ts.map