import { C as SHELLS, T as CompletionOptions, o as CLISchema, w as Shell } from "./index-DXROeDPC.mjs"; //#region src/core/completion/shells/bash.d.ts /** * Generate a bash completion script for the CLI. * * Use this when you want a bash-specific script directly rather than routing * through {@link generateCompletion}. The generated script expects the * `bash-completion` package because it relies on `_init_completion`. * * @param schema - The CLI schema. * @param options - Optional generator configuration. * @returns A complete bash completion script. * * @example * ```ts * const script = generateBashCompletion(app.schema); * // install with: mycli completions bash > /etc/bash_completion.d/mycli * ``` */ declare function generateBashCompletion(schema: CLISchema, options?: CompletionOptions): string; //#endregion //#region src/core/completion/shells/fish.d.ts /** * Generate a fish completion script for the CLI. * * @param schema - The CLI schema. * @param options - Optional generator configuration. * @returns A complete fish completion script. * * @example * ```ts * const script = generateFishCompletion(app.schema); * // install with: mycli completions fish > ~/.config/fish/completions/mycli.fish * ``` */ declare function generateFishCompletion(schema: CLISchema, options?: CompletionOptions): string; //#endregion //#region src/core/completion/shells/powershell.d.ts /** * Generate a PowerShell completion script for the CLI. * * @param schema - The CLI schema. * @param options - Optional generator configuration. * @returns A complete PowerShell completion script. */ declare function generatePowerShellCompletion(schema: CLISchema, options?: CompletionOptions): string; //#endregion //#region src/core/completion/shells/zsh.d.ts /** * Generate a zsh completion script for the CLI. * * Use this when you want a zsh-specific script directly rather than routing * through {@link generateCompletion}. The generated script is compatible with * zsh's normal `#compdef` / `fpath` loading flow. * * @param schema - The CLI schema. * @param options - Optional generator configuration. * @returns A complete zsh completion script. * * @example * ```ts * const script = generateZshCompletion(app.schema); * // install with: mycli completions zsh > "${fpath[1]}/_mycli" * ``` */ declare function generateZshCompletion(schema: CLISchema, options?: CompletionOptions): string; //#endregion //#region src/core/completion/index.d.ts /** * Generate a completion script for the given shell. * * This is the primary completion entrypoint for most consumers. Pass a CLI * schema and target shell, then write the returned script to a file or source * it directly from the command line. * * @param schema - The CLI schema describing commands, flags, and args. * @param shell - Target shell. * @param options - Optional generator configuration such as function naming * and root default-command completion behavior. * @returns A complete shell completion script as a string. * * @example * ```ts * const script = generateCompletion(app.schema, 'bash'); * // e.g. source <(mycli completions bash) * ``` */ declare function generateCompletion(schema: CLISchema, shell: Shell, options?: CompletionOptions): string; //#endregion export { type CompletionOptions, SHELLS, type Shell, generateBashCompletion, generateCompletion, generateFishCompletion, generatePowerShellCompletion, generateZshCompletion };