import { MatchKeyTypes } from '@lomray/client-helpers/interfaces'; type TParamsKeys = keyof TS; type TParamsBool = MatchKeyTypes; type TParamsInt = MatchKeyTypes; /** * Storage for global application parameters */ declare class ConfigStore { static isGlobal: boolean; /** * State */ params: TParams; /** * @constructor */ /** * @constructor */ constructor(); /** * Set value of key */ /** * Set value of key */ set>(key: TKey, value: TParams[TKey]): void; /** * Get param value */ /** * Get param value */ get>(key: TKey): TParams[TKey]; /** * Toggle on */ /** * Toggle on */ enable>(key: TKey): void; /** * Toggle off */ /** * Toggle off */ disable>(key: TKey): void; /** * Return key value */ isEnabled: >(key: TKey) => boolean; /** * Check value */ is: (key: TKey, value: any) => boolean; /** * Increase param */ /** * Increase param */ increase>(key: TKey): void; /** * Increase decrease */ /** * Increase decrease */ decrease>(key: TKey): void; } export { ConfigStore as default };