import 'source-map-support/register'; import { Command, Interfaces, Config } from '@oclif/core'; import ora from 'ora'; import { CommandConfig } from './types'; export type Flags = Interfaces.InferredFlags<(typeof BaseCommand)['baseFlags'] & T['flags']>; export type Args = Interfaces.InferredArgs; declare abstract class BaseCommand extends Command { protected flags: Flags; protected args: Args; protected surgioConfig: CommandConfig; ora: ora.Ora; projectDir: string; constructor(argv: string[], config: Config); init(): Promise; protected catch(err: Error & { exitCode?: number; }): Promise; protected cleanup(): Promise; } export default BaseCommand;