import type { Bootstrapper } from "../Contracts/Foundation/Boostrapper"; import type Application from "../Foundation/Application"; import type { Class } from "../Types"; import type Command from "./Command"; import { Command as CommanderCommand } from "commander"; declare class Kernel { protected app: Application; protected program: CommanderCommand; protected bootstrappers: Class[]; constructor(app: Application); handle(): Promise; /** * Register built in commans for the application */ protected builtinCommands(): Promise; /** * Register the Closure based commands for the application. */ protected commands(): Promise; protected load(paths: string): Promise; protected registerCommand(commandInstance: Command): void; } export default Kernel;