1 | import { Manifest } from './types.js';
|
2 | import BaseReporter from './reporters/base-reporter.js';
|
3 | export declare type ConfigOptions = {
|
4 | pipeline?: string;
|
5 | };
|
6 | export default class Config {
|
7 | cwd: string;
|
8 | reporter: BaseReporter;
|
9 | _manifest: any;
|
10 | manifest: Manifest;
|
11 | manifestIndent?: string;
|
12 | flags: ConfigOptions;
|
13 | constructor(reporter: BaseReporter, cwd: string, flags: ConfigOptions);
|
14 | loadPackageManifest(): Promise<Manifest>;
|
15 | readJson(loc: string, factory?: (filename: string) => Promise<any>): Promise<any>;
|
16 | savePackageManifest(newManifestData: object): Promise<Manifest>;
|
17 | getDistributions(): Promise<[any, any][]>;
|
18 | }
|