1 | import { StoreEnhancer } from "redux";
|
2 | import { Reactotron } from "reactotron-core-client";
|
3 | import { PluginConfig } from "./pluginConfig";
|
4 | declare function reactotronRedux(pluginConfig?: PluginConfig): (reactotron: Reactotron) => {
|
5 | onCommand: ({ type, payload }: {
|
6 | type: string;
|
7 | payload?: any;
|
8 | }) => void;
|
9 | features: {
|
10 | createEnhancer: (skipSettingStore?: boolean) => (createStore: any) => (reducer: any, ...args: any[]) => any;
|
11 | setReduxStore: (store: any) => void;
|
12 | reportReduxAction: (action: {
|
13 | type: any;
|
14 | }, ms: number, important?: boolean) => void;
|
15 | };
|
16 | };
|
17 | export { reactotronRedux };
|
18 | declare module "reactotron-core-client" {
|
19 | interface Reactotron {
|
20 | reduxStore?: any;
|
21 | |
22 |
|
23 |
|
24 | createEnhancer?: (skipSettingStore?: boolean) => StoreEnhancer;
|
25 | |
26 |
|
27 |
|
28 | setReduxStore?: (store: any) => void;
|
29 | }
|
30 | }
|