import BaseStore from './base'; /** Session store that __persists data in memory and thus is not actually persistent__. It does also not synchronize the session's state across multiple tabs or windows as those cannot share memory. __This store is mainly useful for testing and will automatically be used when running tests.__ @class EphemeralStore @extends BaseStore @public */ export default class EphemeralStore extends BaseStore { _data: string; constructor(owner: any); /** Persists `data`. This replaces all currently stored data. @memberof EpemeralStore @method persist @param {Object} data The data to persist @return {Promise} A promise that resolves when the data has successfully been persisted and rejects otherwise. @public */ persist(data: Record): Promise; /** Returns all data currently stored as a plain object. @memberof EpemeralStore @method restore @return {Promise} A promise that resolves with the data currently persisted in the store when the data has been restored successfully and rejects otherwise. @public */ restore(): Promise; /** Clears the store. @memberof EpemeralStore @method clear @return {Promise} A promise that resolves when the store has been cleared successfully and rejects otherwise. @public */ clear(): Promise; setRedirectTarget(): void; getRedirectTarget(): null; clearRedirectTarget(): null; }