import type { AgentTool } from '@earendil-works/pi-agent-core';
import type { Config } from '../../config/schema.js';
export type ResolvedEmbeddedMcpTools = {
    tools: AgentTool[];
    dispose: () => Promise<void>;
};
export declare function resolveEmbeddedMcpToolsForTurn(params: {
    sessionKey: string;
    workspaceDir: string;
    cfg?: Config;
    baseTools: AgentTool[];
    cleanupOnTurnEnd?: boolean;
}): Promise<ResolvedEmbeddedMcpTools>;
export declare function mergeTurnTools(baseTools: AgentTool[], mcpTools: AgentTool[]): AgentTool[];
