UNPKG

524 BTypeScriptView Raw
1import { Logger, LogLevel } from './system';
2export interface InstallerOptions {
3 logLevel: LogLevel;
4 useColor: boolean;
5 dir: string;
6 silent: boolean;
7 logger: Logger;
8 skipCache: boolean;
9}
10export declare namespace InstallerOptions {
11 function getDefaults(): {
12 logLevel: LogLevel.normal;
13 useColor: true;
14 dir: string;
15 silent: false;
16 skipCache: false;
17 };
18}
19export declare function getInstallerOptions(options?: Partial<InstallerOptions>): InstallerOptions;