import { ConfigStoreBaseClass } from '../core/ConfigStore/ConfigStoreBaseClass.impl.js'; import type { ConfigStore } from '../core/ConfigStore/types/ConfigStore.js'; import type { StoreBaseConfig } from '../core/types/StoreBaseConfig.js'; import type { ObjectWithKeysFromStringArray } from '../helper/types/ObjectWithKeysFromStringArray.js'; import type { DefaultConfigStoreConfig } from './types/DefaultConfigStoreConfig.js'; /** * Process-local in-memory config store for development and tests. * * The DefaultConfigStore is a placeholder which offers all needed methods. * Getters and setters will throw a UnhandledError with status `Unauthorized`, when a disabled operation is called. * * Values are stored in memory and are lost on shutdown. Do not use it for * production configuration or secrets. * * For development and testing purpose, you can initiate the store with values. * * @example * ```typescript * const store = new DefaultConfigStore({ * enableGet: true, * enableRemove: true, * enableSet: true, * config: { * initialValue: 'initial', * }, * }) * * console.log(await store.getConfig('initialValue') // outputs: { initialValue: 'initial' } * ``` * * @group Store */ export declare class DefaultConfigStore extends ConfigStoreBaseClass implements ConfigStore { private map; constructor(config?: StoreBaseConfig); protected getConfigImpl(...configNames: ConfigNames): Promise>; protected setConfigImpl(configName: string, configValue: unknown): Promise; protected removeConfigImpl(configName: string): Promise; } //# sourceMappingURL=DefaultConfigStore.impl.d.ts.map