import { EuiAppJsonConfig, EuiEnvConfig } from '@eui/base';
/**
 * Function to be used before the AppModule is bootstrapped. It is currently used to load dynamic configurations.
 * It needs to be added in your application main.ts file.
 * @param envConfig the current environment configuration
 * @returns the updated environment configuration, as a promise
 */
export declare function preInitApp(envConfig: EuiEnvConfig): Promise<EuiEnvConfig>;
/**
 * Function to load asynchronously a dynamic configuration (from a local path or a web service)
 *
 * @param url the path to the configuration
 * @param timeout possible timeout
 * @returns EuiAppJsonConfig promise
 */
export declare function loadEuiDynamicEnvironmentConfig(url: string, timeout?: number): Promise<EuiAppJsonConfig>;
//# sourceMappingURL=eui-pre-init-app.d.ts.map