1 | /**
|
2 | * @license
|
3 | * Copyright Google LLC All Rights Reserved.
|
4 | *
|
5 | * Use of this source code is governed by an MIT-style license that can be
|
6 | * found in the LICENSE file at https://angular.dev/license
|
7 | */
|
8 | import { ExecutionOptions, Rule } from '../engine/interface';
|
9 | /**
|
10 | * Run a schematic from a separate collection.
|
11 | *
|
12 | * @param collectionName The name of the collection that contains the schematic to run.
|
13 | * @param schematicName The name of the schematic to run.
|
14 | * @param options The options to pass as input to the RuleFactory.
|
15 | */
|
16 | export declare function externalSchematic<OptionT extends object>(collectionName: string, schematicName: string, options: OptionT, executionOptions?: Partial<ExecutionOptions>): Rule;
|
17 | /**
|
18 | * Run a schematic from the same collection.
|
19 | *
|
20 | * @param schematicName The name of the schematic to run.
|
21 | * @param options The options to pass as input to the RuleFactory.
|
22 | */
|
23 | export declare function schematic<OptionT extends object>(schematicName: string, options: OptionT, executionOptions?: Partial<ExecutionOptions>): Rule;
|