1 | import type { ReactotronCore } from "reactotron-core-client";
|
2 | import { PluginConfig } from "./pluginConfig";
|
3 | declare function reactotronRedux(pluginConfig?: PluginConfig): <Client extends ReactotronCore = ReactotronCore>(reactotron: Client) => {
|
4 | onCommand: ({ type, payload }: {
|
5 | type: string;
|
6 | payload?: any;
|
7 | }) => void;
|
8 | features: {
|
9 | createEnhancer: (skipSettingStore?: boolean) => (createStore: any) => (reducer: any, ...args: any[]) => any;
|
10 | setReduxStore: (store: any) => void;
|
11 | reportReduxAction: (action: {
|
12 | type: any;
|
13 | }, ms: number, important?: boolean) => void;
|
14 | };
|
15 | };
|
16 | export type ReactotronReduxPlugin = ReturnType<typeof reactotronRedux>;
|
17 | export { reactotronRedux };
|