interface IInstallOptions { /** * If true it will add `-E` to the yarn options. */ exact: boolean; /** * A non empty string will be used create a regular expression to determine if the pacakge * name should be installed. Pass in an empty string if all dependencies should be installed. */ regex: string; /** * If true then all dependencies are installed to the latest version. */ latest: boolean; } /** * Executes `yarn add` on a set of dependencies specified in the package object provided. */ declare function install(pkg: object, depType: 'devDependencies' | 'dependencies', options?: IInstallOptions): Promise; export { IInstallOptions, install, };