///
import { Rule } from '@angular-devkit/schematics';
import { SpawnSyncOptions } from 'child_process';
declare type NPMDependencies = {
[dependency: string]: string;
};
export interface AddSchema {
recipe: string;
projectPath: string;
projectName: string;
}
export declare function add(options: AddSchema): Rule;
interface JSONPackage {
name?: string;
version?: string;
description?: string;
main?: string;
scripts?: {};
dependencies?: NPMDependencies;
devDependencies?: NPMDependencies;
keywords?: string[];
author?: string;
license?: string;
}
export declare function updatePackageJson(packageJson: JSONPackage, projetPath?: string): Rule;
interface Task {
command: string;
args?: string[];
}
export declare function executeTask(task: Task, options?: SpawnSyncOptions): import("child_process").SpawnSyncReturns;
export {};