import { PadroneSchema } from "../types/schema.mjs"; import { WithCommand } from "../util/type-utils.mjs"; import { CommandTypesBase, PadroneCommand } from "../types/command.mjs"; //#region src/extension/completion.d.ts type CompletionArgs = { shell?: string; setup?: boolean; }; type CompletionCommand = PadroneCommand<'completion', '', PadroneSchema, string, [], [], true>; type WithCompletion = WithCommand; /** * Extension that adds the `completion` command for shell completion script generation. * * Usage: * ```ts * import { createPadrone } from 'padrone'; * import { padroneCompletion } from 'padrone/completion'; * * createPadrone('my-cli').extend(padroneCompletion()) * ``` */ declare function padroneCompletion(): (builder: T) => WithCompletion; //#endregion export { WithCompletion, padroneCompletion }; //# sourceMappingURL=completion.d.mts.map