import { Injectable } from '@angular/core';
import { ZuiStorage } from '@material-zui/core';
export class ZuiStorageService {
    constructor() {
        /**
       * @default use memory
       * @memory Reload tab browser to clear data
       * @localStorage Object which stores data with no expiration date
       * @session The data is deleted when the TAB browser is closed (do not need close browser)
       * @cookie Set expiry date. By default, the cookie is deleted when the browser is closed (cookie is session unless set expire time)
       * @returns key
       */
        this.create = ZuiStorage.create;
        /**
       * @default use memory
       * @memory Reload tab browser to clear data
       * @localStorage Object which stores data with no expiration date
       * @session The data is deleted when the TAB browser is closed (do not need close browser)
       * @cookie Set expiry date. By default, the cookie is deleted when the browser is closed (cookie is session unless set expire time)
       * @returns key
       */
        this.set = ZuiStorage.set;
        this.get = ZuiStorage.get;
        this.remove = ZuiStorage.remove;
        this.clear = ZuiStorage.clear;
        this.has = ZuiStorage.has;
    }
}
ZuiStorageService.decorators = [
    { type: Injectable }
];
//# sourceMappingURL=index.service.js.map