/**
 * olam completion <shell> — emit shell completion script.
 *
 * Phase B2 of olam-operator-onboarding-parity (plan
 * ~/.claude/plans/olam-operator-onboarding-parity.md).
 *
 * Wraps the runtime-emit generator at `../lib/completion-generator.ts`
 * (Decision 4 — runtime-emit from commander tree, not static fixtures).
 *
 * Usage:
 *   olam completion zsh   # → stdout: #compdef olam + _olam() function
 *   olam completion bash  # → stdout: _olam_completions() + complete -F binding
 *   olam completion fish  # → stderr: "Unsupported shell..."; exit 1
 *
 * Pipe to `eval` in shell rc OR let Phase C's `olam setup` do the
 * idempotent shell-rc append for you:
 *   echo 'eval "$(olam completion zsh)"' >> ~/.zshrc
 */
import type { Command } from 'commander';
/**
 * Register `olam completion <shell>` on the given commander program.
 *
 * Captures `program` in the closure so the action handler can walk the
 * full command tree at invoke time. Using `program.parent ?? program`
 * keeps the implementation working when commands inject their subcommands
 * via a different parent — though in olam's current shape, `program` IS
 * always the root, so the parent fallback is defence-in-depth.
 */
export declare function registerCompletion(program: Command): void;
//# sourceMappingURL=completion.d.ts.map