1 | import { ApiOptions } from './auto-args';
|
2 | import { ILabelDefinition } from './release';
|
3 | import { ILogger } from './utils/logger';
|
4 | declare type ConfigObject = any;
|
5 |
|
6 | export declare function normalizeLabel(label: Partial<ILabelDefinition>): Partial<ILabelDefinition>;
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | export declare function normalizeLabels(config: ConfigObject): ILabelDefinition[];
|
12 |
|
13 | export default class Config {
|
14 |
|
15 | logger: ILogger;
|
16 |
|
17 | constructor(logger: ILogger);
|
18 | /**
|
19 | * Load the .autorc from the file system, set up defaults, combine with CLI args
|
20 | * load the extends property, load the plugins and start the git remote interface.
|
21 | */
|
22 | loadConfig(args: ApiOptions): Promise<any>;
|
23 | /**
|
24 | * Loads a config from a path, package name, or special `auto-config` pattern
|
25 | *
|
26 | * ex: auto-config-MY_CONFIG
|
27 | * ex: @MY_CONFIG/auto-config
|
28 | *
|
29 | * @param extend - Path or name of config to find
|
30 | */
|
31 | loadExtendConfig(extend: string): Promise<any>;
|
32 | /** Ensure a user's config is not using deprecated options. */
|
33 | private checkDeprecated;
|
34 | }
|
35 | export {};
|
36 |
|
\ | No newline at end of file |