import { IConfigOptions } from '@allgemein/config'; /** * Check if config file load order is present. Possible passthrough of the config order is: * - env variable * - with data as string * - with data as file * - load config order json file fi exists * - like config-load.json oder ./config/config-load.json * - use at least DEFAULT_CONFIG_LOAD_ORDER */ export declare class ConfigLoadOrder { static FILENAMES: string[]; loadOrder: IConfigOptions[]; constructor(); /** * Apply default value at the end. */ private applyDefault; /** * Check all possibilities for load order */ detect(): boolean; /** * Check if declaration of config load in env variable is present, * if it is set it could be the full declaration data as JSON or file path. */ private checkEnvForLoadOrderDeclaration; /** * Check if files defined in ConfigLoadOrder.FILENAMES exists, the first which exists and contain the config order data, will be loaded. * * @private */ private checkForConfigOrderFiles; /** * Return defined load order. */ get(): IConfigOptions[]; }