/** A bash completion script. `complete -F _ `; completes the command, then * per-command subcommands/flags. Self-contained — no bash-completion library required. */ export declare function bashCompletion(cmd: string): string; /** A zsh completion script (`#compdef `). Install by putting it on $fpath, or * eval it: `source <(${cmd} completions zsh)`. */ export declare function zshCompletion(cmd: string): string; /** `ztrack completions `. Returns true if it handled the command. */ export declare function handleCompletionsCommand(args: string[], cmd: string): boolean;