import type { LevelCodeToolCall, LevelCodeToolOutput } from '@levelcode/common/tools/list';
import type { AgentTemplate, Logger } from '@levelcode/common/types/agent-template';
import type { FetchAgentFromDatabaseFn } from '@levelcode/common/types/contracts/database';
import type { AgentState } from '@levelcode/common/types/session-state';
type ToolName = 'set_output';
export declare const handleSetOutput: (params: {
    previousToolCallFinished: Promise<void>;
    toolCall: LevelCodeToolCall<ToolName>;
    agentState: AgentState;
    apiKey: string;
    databaseAgentCache: Map<string, AgentTemplate | null>;
    localAgentTemplates: Record<string, AgentTemplate>;
    logger: Logger;
    fetchAgentFromDatabase: FetchAgentFromDatabaseFn;
}) => Promise<{
    output: LevelCodeToolOutput<ToolName>;
}>;
export {};
