import { C as Command, j as App } from './Application-t1PlHKnt.js'; import { RunFn } from './run.js'; import 'inversify'; import 'pino-pretty'; import 'type-fest'; import './base/Argument.js'; import 'commander'; import 'debug'; import 'pino'; import './utils/color.js'; import 'chalk'; import 'cli-table3'; import './helpers/Input.js'; import '@inquirer/prompts'; import './Output-B6UXHbGv.js'; import 'node:util'; import './types/output.js'; import './utils/macroable.js'; import 'term-size'; import 'ora'; import 'figlet'; import 'chalk-animation'; import './Cache.js'; import './types/index.js'; import './types/app.js'; import './types/ExitCode.js'; import './types/log.js'; import './types/path.js'; import 'env-paths'; import './utils/packageJSON.js'; interface ArgumentOptions { name?: string; type?: any; usage?: string; description?: string; choices?: string[]; optional?: boolean; required?: boolean; default?: any; variadic?: boolean; } interface OptionOptions { type?: any; flags?: string; description?: string; choices?: string[]; implies?: any; conflicts?: string[]; required?: boolean; optional?: boolean; variadic?: boolean; mandatory?: boolean; short?: string; long?: string; negate?: boolean; default?: any; presetArg?: unknown; envVar?: string; parseArg?: (value: string, previous: T) => T; hidden?: boolean; argChoices?: string[]; } declare function commandDecorators(dirname: string, run: RunFn): { command: { (name: string): ClassDecorator; (name: string, description: string, callback?: (command: Command, app: App) => any): ClassDecorator; (name: string, callback?: (command: Command, app: App) => any): ClassDecorator; }; argument: (description: string, config?: ArgumentOptions) => ParameterDecorator; option: (description: string, config?: OptionOptions) => PropertyDecorator; global: typeof globalThis; action: () => MethodDecorator; inject: (name: keyof App) => PropertyDecorator; }; export { type ArgumentOptions, type OptionOptions, commandDecorators };