import { LoggingConfig } from './parse'; import { Config, EnvSource } from './types'; export { configFileSource, readEnvConfig } from './dotenv'; export { Config, EnvConfig, EnvSource } from './types'; /** * Get default environment sources, depending on which ones are available. * * It supports 4 sources of environment variables: * - direct environment variables (priotity 1 - highest) * - content of a dotenv file in the DASHLANE_SSO_CONFIG environment variable (priotity 2) * This is convenient for situation when having many environment variables is impractical * - extra sources depending on the media and/or hosting platform (priotity 3 - lowest) */ export declare const getDefaultEnvSources: (extraSources?: EnvSource[] | undefined) => EnvSource[]; /** * Read configuration from miscelaneous environment sources. */ export declare const readConfig: (envSources: EnvSource[]) => Promise<{ loggingConfig: LoggingConfig; config: Config | Error; }>;