/** * @license MIT * 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.io/license */ import { Tree } from '@angular-devkit/schematics'; /** * Determines if the asset should be added to angular.json * @param host The file host * @param assetType The type of asset * @param assetPath The path of the asset * @returns If the asset should be added to angular.json */ export declare function addAssetToAngularJson(host: Tree, assetType: string, assetPath: string): boolean; /** * This function has been borrowed from: * https://github.com/valor-software/ngx-bootstrap/tree/development/schematics/src/utils/index.ts * * Note: This function accepts an additional parameter `isDevDependency` so we * can place a given dependency in the correct dependencies array inside package.json * @param host The file host * @param thePackage The package to add * @param version The version of the package to add * @param isDevelopmentDependency If it's a dev dependency * @returns If the package should be added */ export declare function addPackageToPackageJson(host: Tree, thePackage: string, version: string, isDevelopmentDependency?: boolean): boolean;