import { Command } from '@oclif/core'; import { OutputFlags, Input, ParserOutput, FlagInput, OutputArgs } from '@oclif/core/parser'; export type ArgOutput = OutputArgs; export type FlagOutput = OutputFlags; declare abstract class BaseCommand extends Command { static baseFlags: FlagInput<{}>; static descriptionWithoutMarkdown(): string | undefined; static analyticsNameOverride(): string | undefined; static analyticsStopCommand(): string | undefined; catch(error: Error & { skipOclifErrorHandling: boolean; }): Promise; protected init(): Promise; protected showNpmFlagWarning(): void; protected exitWithTimestampWhenEnvVariablePresent(): void; protected parse(options?: Input, argv?: string[]): Promise & { argv: string[]; }>; protected environmentsFilename(): string | undefined; protected failMissingNonTTYFlags(flags: FlagOutput, requiredFlags: string[]): void; private resultWithEnvironment; /** * Tries to load an environment to forward to the command. If no environment * is specified it will try to load a default environment. */ private loadEnvironmentForCommand; } export declare function addFromParsedFlags(flags: { path?: string; verbose?: boolean; }): Promise; /** * Strips the defaults from configured flags. For example, if flags contains: * * ``` * someFlag: Flags.boolean({ * description: 'some flag', * default: false * }) * ``` * * it becomes: * * ``` * someFlag: Flags.boolean({ * description: 'some flag' * }) * ``` * * If we parse using this configuration, the only specified flags will be those * the user actually passed on the command line. */ export declare function noDefaultsOptions(options: Input | undefined): Input | undefined; export default BaseCommand;