import * as i0 from '@angular/core'; import { InjectionToken, ModuleWithProviders, EnvironmentProviders } from '@angular/core'; import { NgxsPlugin, NgxsNextPluginFn } from '@ngxs/store/plugins'; interface NgxsLoggerPluginOptions { /** Auto expand logged actions */ collapsed?: boolean; /** Provide alternate console.log implementation */ logger?: any; /** Disable the logger. Useful for prod mode. */ disabled?: boolean; /** Predicate for actions to be the logged. Takes action and state snapshot as parameters */ filter?: (action: any, state: any) => boolean; } declare const NGXS_LOGGER_PLUGIN_OPTIONS: InjectionToken; /** * @deprecated Use `withNgxsLoggerPlugin()` instead. */ declare class NgxsLoggerPluginModule { /** * @deprecated Use `withNgxsLoggerPlugin()` instead. */ static forRoot(options?: NgxsLoggerPluginOptions): ModuleWithProviders; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare function withNgxsLoggerPlugin(options?: NgxsLoggerPluginOptions): EnvironmentProviders; declare class NgxsLoggerPlugin implements NgxsPlugin { private _store; private _logWriter; private _options; private _injector; handle(state: any, event: any, next: NgxsNextPluginFn): any; private _skipLogging; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export { NGXS_LOGGER_PLUGIN_OPTIONS, NgxsLoggerPlugin, NgxsLoggerPluginModule, withNgxsLoggerPlugin }; export type { NgxsLoggerPluginOptions };