import * as i0 from '@angular/core'; import { ModuleWithProviders, EnvironmentProviders, InjectionToken } from '@angular/core'; import { NgxsStoragePluginOptions, StorageKey, StorageEngine } from '@ngxs/storage-plugin/internals'; export { NgxsStoragePluginOptions, STORAGE_ENGINE, StorageEngine, StorageOption } from '@ngxs/storage-plugin/internals'; import { NgxsPlugin, NgxsNextPluginFn } from '@ngxs/store/plugins'; /** * @deprecated Use `withNgxsStoragePlugin()` instead. */ declare class NgxsStoragePluginModule { /** * @deprecated Use `withNgxsStoragePlugin()` instead. */ static forRoot(options: NgxsStoragePluginOptions): ModuleWithProviders; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare function withNgxsStoragePlugin(options: NgxsStoragePluginOptions): EnvironmentProviders; declare function withStorageFeature(storageKeys: StorageKey[]): EnvironmentProviders; declare class NgxsStoragePlugin implements NgxsPlugin { private _injector; private _keysManager; private _options; private _allStatesPersisted; handle(state: any, event: any, next: NgxsNextPluginFn): any; private _hydrateSelectivelyOnUpdate; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare const LOCAL_STORAGE_ENGINE: InjectionToken; declare const SESSION_STORAGE_ENGINE: InjectionToken; export { LOCAL_STORAGE_ENGINE, NgxsStoragePlugin, NgxsStoragePluginModule, SESSION_STORAGE_ENGINE, withNgxsStoragePlugin, withStorageFeature };