import { BaseCommand } from '@yarnpkg/cli'; import { InstallMode } from '@yarnpkg/core'; import { Usage } from 'clipanion'; export default class AddCommand extends BaseCommand { static paths: string[][]; static usage: Usage; json: boolean; fixed: boolean; exact: boolean; tilde: boolean; caret: boolean; dev: boolean; peer: boolean; optional: boolean; preferDev: boolean; interactive: boolean | undefined; cached: boolean; noTimeGate: boolean; mode: InstallMode | undefined; silent: boolean | undefined; packages: string[]; execute(): Promise<0 | 1>; }