export { isCI } from '../io-host'; /** * yargs middleware to negate an option if a negative alias is provided * E.g. `-R` will imply `--rollback=false` * * @param optionToNegate - The name of the option to negate, e.g. `rollback` * @param negativeAlias - The alias that should negate the option, e.g. `R` * @returns a middleware function that can be passed to yargs */ export declare function yargsNegativeAlias(negativeAlias: S, optionToNegate: L): (argv: T) => T; /** * Returns the current version of the CLI * @returns the current version of the CLI */ export declare function cliVersion(): string; /** * Returns the default browser command for the current platform * @returns the default browser command for the current platform */ export declare function browserForPlatform(): string; /** * The default value for displaying (and refreshing) notices on all commands. * * If the user didn't supply either `--notices` or `--no-notices`, we do * autodetection. The autodetection currently is: do write notices if we are * not on CI, or are on a CI system where we know that writing to stderr is * safe. We fail "closed"; that is, we decide to NOT print for unknown CI * systems, even though technically we maybe could. */ export declare function shouldDisplayNotices(): boolean;