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