import * as cp from 'child_process'; import { ApplicationPackage, ApplicationPackageOptions } from '@theia/application-package'; import { ApplicationProcess } from './application-process'; import { GeneratorOptions } from './generator/abstract-generator'; import yargs = require('yargs'); declare module 'semver' { function minVersion(range: string): string; } export declare class ApplicationPackageManager { static defineGeneratorOptions(cli: yargs.Argv): yargs.Argv; readonly pck: ApplicationPackage; /** application process */ readonly process: ApplicationProcess; /** manager process */ protected readonly __process: ApplicationProcess; constructor(options: ApplicationPackageOptions); protected remove(fsPath: string): Promise; clean(): Promise; prepare(): Promise; generate(options?: GeneratorOptions): Promise; copy(): Promise; build(args?: string[], options?: GeneratorOptions): Promise; start(args?: string[]): cp.ChildProcess; startBrowserOnly(args: string[]): cp.ChildProcess; adjustBrowserOnlyArgs(args: string[]): Readonly<{ command: string; mainArgs: string[]; options: cp.SpawnOptions; }>; startElectron(args: string[]): cp.ChildProcess; startBrowser(args: string[]): cp.ChildProcess; /** * Inject Theia's Electron-specific dependencies into the application's package.json. * * Only overwrite the Electron range if the current minimum supported version is lower than the recommended one. */ protected prepareElectron(): Promise; protected insertAlphabetically>(object: T, key: string, value: string): T; private adjustArgs; private get forkOptions(); } //# sourceMappingURL=application-package-manager.d.ts.map