import { Stream } from 'bunyan'; import { LogLevel } from 'noicejs'; export declare const CONFIG_ENV = "SALTY_HOME"; export interface ConfigData { data: { logger: { level: LogLevel; name: string; streams: Array; }; }; } /** * Path to project root directory. */ export declare function dirName(): string; /** * With the given name, generate all potential config paths in their complete, absolute form. * * This will include the value of `SALTY_HOME`, `HOME`, the current working directory, and any extra paths * passed as the final arguments. */ export declare function completePaths(name: string, extras: Array): Array; export declare function loadConfig(name: string, ...extras: Array): Promise; export declare function errorCode(err: unknown): string | undefined; export declare function readConfig(path: string): Promise; //# sourceMappingURL=index.d.ts.map