/** * OLE storage service. * Base class for storage services, * such as LocalStorage, PermalinkStorage, CookieStorage. * @alias ole.service.Storage */ export default class Storage extends Service { /** * Saves control properties. * @param {object} [options] Service options * @param {array.} [controls] List of controls. * If undefined, all controls of the editor are used. */ constructor(optOptions: any); /** * List of service controls * @type {array.} * @private */ private controls; /** * List of properties keys to ignore. * @type {array.} */ ignoreKeys: array; /** * Store control properties. * @param {string} controlName Name of the control. * @param {object} properties Control properties. */ storeProperties(controlName: string, properties: object): {}; /** * Restore the control properties. */ restoreProperties(): void; /** * Store the active state of controls. */ storeActiveControls(): any; /** * Restore the active state of the controls. */ restoreActiveControls(): void; } import Service from './service';