/** * Zsh completion generator. Emits a single `#compdef ` script that uses * `_arguments -C` for nested-subcommand parsing and supports descriptions * inline (the main zsh-over-bash win). The bin name is injected by the caller. * * Architecture mirrors bash.ts: * - Static tables for subcommands + options keyed by path * - ` __complete ` callback for dynamic values * - Driver function walks $words to determine the current command path */ import type { CommandSpec } from "./walk.js"; export declare function generateZsh(root: CommandSpec, binName: string): string; /** * DYNAMIC zsh completion: a thin, tree-independent shim that calls * ` __complete-line` on every (see bash.ts generateBashDynamic for * the rationale). Candidate lines are `value\tdescription`; the shim converts * the tab to `:` so `_describe` renders descriptions. The trailing `\x1f:` * line carries the directive (bit 0 = file fallback → `_files`). */ export declare function generateZshDynamic(binName: string): string; //# sourceMappingURL=zsh.d.ts.map