import Command, { flags as commandFlags } from '@oclif/command'; import * as inquirer from 'inquirer'; declare module 'inquirer' { interface Question { source?(questions: inquirer.Questions): Promise; } } export interface IRtolmsConfig { reposDir: string; authToken: string; username: string; server?: string; database?: string; maildrop?: string; } export default abstract class BaseCommand extends Command { static flags: { help: import("@oclif/parser/lib/flags").IBooleanFlag; verbose: import("@oclif/parser/lib/flags").IBooleanFlag; 'page-size': import("@oclif/parser/lib/flags").IOptionFlag; 'core-repo-name': commandFlags.IOptionFlag; 'custom-repo-regex': commandFlags.IOptionFlag; 'custom-repo-shortname-regex': commandFlags.IOptionFlag; }; flags: any; args: any; userConfig: IRtolmsConfig; getConfigPath(): string; getConfig(refresh?: boolean): Promise; initDotEnv(): Promise; getConfigDefaults(): Promise; configExists(): boolean; requireConfig(): Promise; fuzzyMatchCustomDir: (partialCustomName?: string) => Promise; getCorePath: () => Promise; getCoreCustomSubdirPath: () => Promise; getCustomRepos: () => Promise; getCurrentlyLinkedCustomDir: () => Promise; getLinkedRepoRoot: () => Promise; promptForCustomerDir: () => Promise; init(): Promise; finally(): Promise; }