export declare const CONFIG_PROJECT_NAME: string; interface CachedValue { value: E; expiry: number | undefined; } interface ConfStore { get(key: string): CachedValue | undefined; set(key: string, value: CachedValue): void; delete(key: string): void; } export declare class CachedConf { private readonly conf; constructor(projectName: string); constructor(store: ConfStore); get(key: string): T | undefined; set(key: string, value: T, age?: number): void; delete(key: string): void; cached(key: string, getter: () => T, age?: number): T; cached(key: string, getter: () => Promise, age?: number): Promise; static getCache(projectName: string): CachedConf; static memoryCache(): CachedConf; } export {}; //# sourceMappingURL=cached-conf.d.ts.map