import { type Ignitor } from './main.ts'; import type { ApplicationService } from '../types.ts'; /** * The Ace process is used to start the application in the * console environment. It manages the Ace kernel lifecycle * and command execution. * * @example * const ignitor = new Ignitor() * const aceProcess = new AceProcess(ignitor) * * await aceProcess * .configure((app) => { * // Configure ace kernel * }) * .handle(['make:controller', 'UserController']) */ export declare class AceProcess { #private; /** * Creates a new Ace process instance * * @param ignitor - The ignitor instance used to create and manage the app */ constructor(ignitor: Ignitor); /** * Register a callback that can be used to configure the ace * kernel before the handle method is called * * @param callback - Configuration callback function */ configure(callback: (app: ApplicationService) => Promise | void): this; /** * Handles the command line arguments and executes * the matching ace commands * * @param argv - Command line arguments array */ handle(argv: string[]): Promise; }