import { AngularDataContext } from '@themost/angular'; import * as i0 from "@angular/core"; /** * * This Service is used to get or set user storage items * @export * @class ConfigurationService */ export declare class UserStorageService { private context; private _hasUserStorage; constructor(context: AngularDataContext); /** * Validates if server supports user storage */ hasUserStorage(): Promise; /** * Gets a user storage item based on the given key * @param key */ getItem(key: string): Promise; /** * Sets a user storage item * @param key * @param value */ setItem(key: string, value: any): Promise; /** * Removes a user storage item * @param key */ removeItem(key: string): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }