import type { AgentTool as AnyAgentTool } from "@earendil-works/pi-agent-core";
import type { Config } from "../../config/schema.js";
import type { BundleMcpToolRuntime, SessionMcpRuntime } from "./bundle-mcp-types.js";
export type McpGatewayToolEntry = {
    name: string;
    shortName: string;
    description: string;
};
export declare function mapBundleMcpToolsForGateway(tools: AnyAgentTool[], serverId: string): McpGatewayToolEntry[];
export declare function listBundleMcpServerToolsForGateway(params: {
    workspaceDir: string;
    cfg?: Config;
    serverId: string;
}): Promise<McpGatewayToolEntry[]>;
export declare function materializeBundleMcpToolsForRun(params: {
    runtime: SessionMcpRuntime;
    reservedToolNames?: Iterable<string>;
    disposeRuntime?: () => Promise<void>;
}): Promise<BundleMcpToolRuntime>;
export declare function createBundleMcpToolRuntime(params: {
    workspaceDir: string;
    cfg?: Config;
    reservedToolNames?: Iterable<string>;
    createRuntime?: (params: {
        sessionId: string;
        workspaceDir: string;
        cfg?: Config;
    }) => SessionMcpRuntime;
}): Promise<BundleMcpToolRuntime>;
