/**
 * Simple config helper, loads configuration in this order:
 *  - /config/default.js
 *  - /config/*.js (all files in config folder excluding local configs)
 *  - /config/env/$NODE_ENV.js
 *  - /config/env/$NODE_ENV.local.js
 *  - /config/local.js
 */
export declare class MikroConfig {
    private configDir;
    [key: string]: any;
    constructor(configDir?: string);
    get(key: string, defaultValue?: any): any;
    has(key: string): boolean;
    /**
     * options can be either object or path to config file to merge (checks for existence synchronously)
     */
    addOptions(options: object | string, optional?: boolean): void;
    getEnvironment(): string;
    private buildConfig;
    private addEnvOptions;
    private propagateReferences;
    private propagateSingleReference;
}
export interface Options {
    [key: string]: any;
}
