export declare type ConfigValue = number | string | boolean; export interface PropertyDecl { type: 'string' | 'boolean' | 'number'; key: string; defaultValue?: T; parse(str: string): T; } export declare function getConfigDeclarations(): Map>; export declare function stringConfig(key: string, defaultValue?: string): PropertyDecl; export declare function booleanConfig(key: string, defaultValue?: boolean): PropertyDecl; export declare function numberConfig(key: string, defaultValue?: number): PropertyDecl; /** * Provides common configuration framework to Engine and its components. * This allows reading configuration properties from `process.env` or similar key/value * source, without necessity of managing all configuration settings centrally. * * @internal */ export declare class Configuration { values: Map; resolve(decl: PropertyDecl): T | null; get(decl: PropertyDecl): T; setAll(object: { [key: string]: string | null | undefined; }): void; getMissingConfigs(): Array>; } export declare class EnvConfiguration extends Configuration { constructor(); } //# sourceMappingURL=config.d.ts.map