/** * `weft completions generate|install --shell zsh|bash|fish` — emit or install a * shell completion script for the `weft` CLI. * * `generate` prints the script to stdout (pipe it into your shell config). * `install` writes it to the conventional per-shell completion directory and * prints the path plus any one-time activation step. * * @module cli/completions */ import type { CommandOutput, CompletionShell, CompletionsCommand } from './types.ts'; /** Generate the completion script for the requested shell. */ export declare function generateCompletionScript(shell: CompletionShell): string; /** Conventional install path for each shell's completion script. */ export declare function completionInstallPath(shell: CompletionShell): string; /** Execute `weft completions generate|install`. */ export declare function executeCompletions(command: CompletionsCommand): Promise;