import type { McpServerConfig } from "../../agent-mcp-config/dist/index.js";
import { McpClient } from "../../tiny-mcp-client/dist/index.js";
import type { Group } from "./index.js";
export interface ResolveMcpProxyOptions {
    projectRoot?: string;
}
export declare function hasMcpProxyGroups(root: Group<any>): boolean;
export declare function findProjectRoot(from?: string): string | undefined;
export declare function resolveCachePath(name: string, projectRoot?: string): string;
export declare function parseRefreshEnv(value: string | undefined): "all" | Set<string> | undefined;
export declare function dialUpstream(name: string, config: McpServerConfig): Promise<McpClient>;
export declare function resolveMcpProxies(root: Group<any>, options?: ResolveMcpProxyOptions): Promise<void>;
