/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { Argv } from 'yargs'; import { CommandModuleImplementation, Options, OtherOptions } from '../../command-builder/command-module'; import { SchematicsCommandArgs, SchematicsCommandModule } from '../../command-builder/schematics-command-module'; interface AddCommandArgs extends SchematicsCommandArgs { collection: string; verbose?: boolean; registry?: string; 'skip-confirmation'?: boolean; } export default class AddCommandModule extends SchematicsCommandModule implements CommandModuleImplementation { command: string; describe: string; longDescriptionPath: string; protected allowPrivateSchematics: boolean; private readonly schematicName; private rootRequire; builder(argv: Argv): Promise>; run(options: Options & OtherOptions): Promise; private isProjectVersionValid; private getCollectionName; private isPackageInstalled; private executeSchematic; private findProjectVersion; private hasMismatchedPeer; } export {};