import { InjectionToken } from '@nestjs/common';
import { ModuleRef } from '@nestjs/core';
import { CommandInfo } from './console.decorator';
import { CommandInterface } from './console.interface';
export declare class ConsoleService {
    private readonly moduleRef;
    constructor(moduleRef: ModuleRef);
    readonly commands: Record<string, [CommandInfo, CommandInterface]>;
    add: (key: CommandInfo, type: InjectionToken) => Promise<void>;
    execute(name: string): Promise<number>;
}
