import { IDictionary } from "../declarations"; interface ICacheTimeoutOpts { cacheTimeout: number; } interface IUseCacheOpts { useCaching: boolean; } interface IJsonFileSettingsService { getSettingValue( settingName: string, cacheOpts?: ICacheTimeoutOpts ): Promise; saveSetting( key: string, value: T, cacheOpts?: IUseCacheOpts ): Promise; removeSetting(key: string): Promise; loadUserSettingsFile(): Promise; saveSettings(data: IDictionary<{}>, cacheOpts?: IUseCacheOpts): Promise; }