import { Environment, FormatEnum } from '../interfaces'; import { IAsyncStore, IConfigurationStore, ISyncStore } from './configuration-store'; export declare class HybridConfigurationStore implements IConfigurationStore { protected readonly servingStore: ISyncStore; protected readonly persistentStore: IAsyncStore | null; constructor(servingStore: ISyncStore, persistentStore: IAsyncStore | null); private environment; private configFetchedAt; private configPublishedAt; private format; /** * Initialize the configuration store by loading the entries from the persistent store into the serving store. */ init(): Promise; isInitialized(): boolean; isExpired(): Promise; get(key: string): T | null; entries(): Record; getKeys(): string[]; setEntries(entries: Record): Promise; setEnvironment(environment: Environment): void; getEnvironment(): Environment | null; getConfigFetchedAt(): string | null; setConfigFetchedAt(configFetchedAt: string): void; getConfigPublishedAt(): string | null; setConfigPublishedAt(configPublishedAt: string): void; getFormat(): FormatEnum | null; setFormat(format: FormatEnum): void; } //# sourceMappingURL=hybrid.store.d.ts.map