import { Framework } from '@celljs/frameworks/lib/detector/detector-protocol'; import * as ora from 'ora'; import { Settings } from '../settings/settings-protocol'; import { ApplicationPackage } from '../package/application-package'; import { CliContext } from '../context/context-protocol'; export declare enum CommandType { ServeCommand = "serveCommand", BuildCommand = "buildCommand", DeployCommand = "deployCommand", CompileCommand = "compileCommand" } export declare enum CommandStage { on = "on", before = "before", after = "after" } export declare namespace CommandUtil { function getPkg(settings?: Settings, projectPath?: string): ApplicationPackage; function loadContext(settings: Settings, framework?: Framework, runtime?: string, projectPath?: string, spinner?: ora.Ora): Promise; function includesCommand(args: string[], commands?: string[]): boolean; function getCommandByName(ctx: CliContext, name: string): import("commander").Command | undefined; function getBuildCommand(ctx: CliContext): import("commander").Command | undefined; function getDeployCommand(ctx: CliContext): import("commander").Command | undefined; function getServeCommand(ctx: CliContext): import("commander").Command | undefined; function getConfigCommand(ctx: CliContext): import("commander").Command | undefined; function hasCommand(ctx: CliContext, target: string, commandType: string, commandStage?: string): Promise; function getCommand(ctx: CliContext, target: string, commandType: string, commandStage?: string, renderer?: (command2: string, target2: string) => Promise): Promise | undefined; function executeCommand(ctx: CliContext, commandType: string, commandStage?: string, renderer?: (command2: string, target2: string) => Promise): Promise; } //# sourceMappingURL=command-util.d.ts.map