import { Argv as Yargv } from 'yargs'; import { Event } from '@boost/event'; import { Pipeline, Tool } from '@boost/core'; import Driver from './Driver'; import Context from './contexts/Context'; import ConfigContext from './contexts/ConfigContext'; import DriverContext from './contexts/DriverContext'; import ScriptContext from './contexts/ScriptContext'; import ScaffoldContext from './contexts/ScaffoldContext'; import { Argv, Execution, BeemoPluginRegistry, BeemoConfig } from './types'; export declare function configBlueprint(): { configure: import("optimal").ShapeBuilder<{ cleanup: boolean; parallel: boolean; }>; execute: import("optimal").ShapeBuilder<{ concurrency: number; graph: boolean; }>; module: import("optimal").StringBuilder; }; export default class Beemo extends Tool { moduleRoot: string; pipeline: Pipeline | null; onResolveDependencies: Event<[ConfigContext, Driver[]], string>; onRunConfig: Event<[ConfigContext, string[]], string>; onRunDriver: Event<[DriverContext, Driver], string>; onRunScript: Event<[ScriptContext], string>; onScaffold: Event<[ScaffoldContext, string, string, (string | undefined)?], string>; constructor(argv: Argv, binName?: string, testingOnly?: boolean); /** * Register global options within our CLI application. */ bootstrapCLI(app: Yargv): void; /** * If the configure module has an index export that is a function, * execute it with the current tool instance. */ bootstrapConfigModule(): this; /** * Create a configuration file for the specified driver names. */ createConfigFiles(args: ConfigContext['args'], driverNames?: string[]): Promise; /** * Validate the configuration module and return its absolute path. */ getConfigModuleRoot(): string; /** * Execute all routines for the chosen driver. */ runDriver(args: DriverContext['args'], driverName: string, parallelArgv?: Argv[]): Promise; /** * Run a script found within the configuration module. */ runScript(args: ScriptContext['args'], scriptName: string): Promise; /** * Run the scaffold process to generate templates. */ scaffold(args: ScaffoldContext['args'], generator: string, action: string, name?: string): Promise; /** * Setup and start a fresh pipeline. */ startPipeline(context: T): Pipeline; /** * Prepare the context object by setting default values for specific properties. */ protected prepareContext(context: T): T; /** * Delete config files if a process fails. */ private handleCleanupOnFailure; } //# sourceMappingURL=Beemo.d.ts.map