import { Store } from './Store'; import { Conversionator } from './Conversionator'; export declare class Configurations { private static _i; private missThreshold; private misses; private readonly logger; private readonly store; private constructor(); /** * Object containing all of the configuration sources. Can be used to register * new sources. The order of declaration will determine the priority order * of how secrets are resolved. */ static get store(): Store; /** * Helper for converting values that may be store string only. */ static get as(): Conversionator; /** * * @param name of the configuration value to return. * @param someDefault to use if no configuration value is found. Using this value bypasses source reloading on to many misses. */ static get(name: string, someDefault?: T): Promise; /** * * @param name of the configuration value to return. * @param someDefault to use if no configuration value is found. Using this value bypasses source reloading on to many misses. */ get(name: string, someDefault?: T): Promise; /** * Force all value to reload. */ refresh(): Promise; /** * * @param name of the value to locate * @param someDefault to use if nothing is found. */ private findInStores; private static get instance(); }