import { CommandOptions } from './options';
import { ObjectLiteral } from 'typeorm';

export interface BaseCommand {
    $options: CommandOptions<{
        [key: string]: string;
    }>;
    run(
        player: PlayerMp,
        params?:
            | {
                  [key: string]: string | number | null | PlayerMp | VehicleMp;
              }
            | ObjectLiteral,
    ): Promise<void>;
}

export class BaseCommand implements BaseCommand {}
