UNPKG

820 BTypeScriptView Raw
1import "source-map-support/register";
2import Configstore from "configstore";
3declare class TruffleConfig {
4 [key: string]: any;
5 private _deepCopy;
6 private _values;
7 constructor(truffleDirectory?: string, workingDirectory?: string, network?: any);
8 eventManagerOptions(config: TruffleConfig): any;
9 addProp(propertyName: string, descriptor: any): void;
10 normalize(obj: any): any;
11 with(obj: any): TruffleConfig;
12 merge(obj: any): TruffleConfig;
13 static default(): TruffleConfig;
14 static search(options?: any, filename?: string): string | null;
15 static detect(options?: any, filename?: string): TruffleConfig;
16 static load(file: string, options?: any): TruffleConfig;
17 static getUserConfig(): Configstore;
18 static getTruffleDataDirectory(): string;
19}
20export = TruffleConfig;