import type { LevelCodeToolCall, LevelCodeToolOutput } from '@levelcode/common/tools/list';
import type { Subgoal } from '@levelcode/common/types/session-state';
export declare const handleAddSubgoal: (params: {
    previousToolCallFinished: Promise<void>;
    toolCall: LevelCodeToolCall<"add_subgoal">;
    agentContext: Record<string, Subgoal>;
}) => Promise<{
    output: LevelCodeToolOutput<"add_subgoal">;
}>;
