import type Step from "./cmds-step.dist"; import { Timed } from '@hackbg/time'; import { Console } from '@hackbg/logs'; /** A command is a binding between a string and one or more steps * that operate sequentially on the same context. */ export default class Command extends Timed { name: string; args: string; info: string; steps: Step[]; log: Console; constructor(parameters?: Partial>); /** Run the command with the specified arguments. */ run(args?: string[], context?: any): Promise; get longestName(): number; after: () => void; } export declare class Command2 extends Command { } export declare const afterSteps: (command: Command) => void; //# sourceMappingURL=cmds-command.d.ts.map