import { CommandMeta, GeneratorContext } from "../types.mjs"; //#region src/codegen/generators/command-tree.d.ts interface CommandTreeOptions { /** When set, generates .wrap() calls instead of .action(). */ wrap?: { /** The external command being wrapped (e.g. 'gh'). */command: string; }; } /** * Walk a CommandMeta tree and emit one file per command plus a root program file. * Maps nested subcommands to a directory structure. */ declare function generateCommandTree(root: CommandMeta, ctx: GeneratorContext, options?: CommandTreeOptions): void; //#endregion export { CommandTreeOptions, generateCommandTree }; //# sourceMappingURL=command-tree.d.mts.map