function PersistentState(hotInstance) {
    var _this;

    (0, _classCallCheck2.default)(this, PersistentState);
    _this = (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(PersistentState).call(this, hotInstance));
    /**
     * Instance of {@link Storage}.
     *
     * @private
     * @type {Storage}
     */

    _this.storage = void 0;
    return _this;
  }
@plugin PersistentState

@description
Save the state of column sorting, column positions and column sizes in local storage to preserve table state
between page reloads.

In order to enable data storage mechanism, {@link Options#persistentState} option must be set to `true`.

When persistentState is enabled it exposes 3 hooks:
- {@link Hooks#persistentStateSave} - Saves value under given key in browser local storage.
- {@link Hooks#persistentStateLoad} - Loads value, saved under given key, from browser local storage. The loaded
value will be saved in `saveTo.value`.
- {@link Hooks#persistentStateReset} - Clears the value saved under key. If no key is given, all values associated
with table will be cleared.