UNPKG

846 BTypeScriptView Raw
1import { EnvironmentProviders, InjectionToken } from '@angular/core';
2import { ReduxDevtoolsExtension } from './extension';
3import { StoreDevtoolsConfig, StoreDevtoolsOptions } from './config';
4export declare const IS_EXTENSION_OR_MONITOR_PRESENT: InjectionToken<boolean>;
5export declare function createIsExtensionOrMonitorPresent(extension: ReduxDevtoolsExtension | null, config: StoreDevtoolsConfig): boolean;
6export declare function createReduxDevtoolsExtension(): any;
7/**
8 * Provides developer tools and instrumentation for `Store`.
9 *
10 * @usageNotes
11 *
12 * ```ts
13 * bootstrapApplication(AppComponent, {
14 * providers: [
15 * provideStoreDevtools({
16 * maxAge: 25,
17 * logOnly: !isDevMode(),
18 * }),
19 * ],
20 * });
21 * ```
22 */
23export declare function provideStoreDevtools(options?: StoreDevtoolsOptions): EnvironmentProviders;