import type { Command, Group } from "../../toolcraft/dist/index.js"; import { type ResolveMcpProxyOptions } from "../../toolcraft/dist/mcp-proxy.js"; export type CommandEntry = { path: string; groupPath: string; name: string; sdkPath: string[]; command: Command; }; export type CommandTree = { entries: CommandEntry[]; exportsByGroupPath: Map; }; export type CommandEntryList = CommandEntry[] | Promise; export type ResolveCommandTreeOptions = ResolveMcpProxyOptions; export declare function resolveCommandEntries(entries: CommandEntryList): Promise; export declare function formatSdkSegment(segment: string): string; export declare function formatModuleSegment(segment: string): string; export declare function resolveCommandTree(root: Group, options?: ResolveCommandTreeOptions): Promise;