import yParser from '../../compiled/yargs-parser'; import type { Service } from '../services/service'; export interface CommandOptions { name: string; fn: { ({ args, api, }: { args: yParser.Arguments; api: Service; }): Promise | void; }; } export declare class Command { name: string; fn: { ({ args, api, }: { args: yParser.Arguments; api: Service; }): Promise | void; }; constructor(opts: CommandOptions); }