import { Store, ActionCreator, ActionCreatorsMapObject } from 'redux'; import { TypedUseSelectorHook } from 'react-redux'; import { ReactFlowDispatch } from './index'; import * as actions from './actions'; import { ReactFlowAction } from './actions'; import { ReactFlowState } from '../types'; export declare const useTypedSelector: TypedUseSelectorHook; export type ActionCreatorSelector = (acts: typeof actions) => ActionCreator; export type ActionMapObjectSelector = (acts: typeof actions) => ActionCreatorsMapObject; export type ActionSelector = (acts: typeof actions) => ActionCreatorsMapObject | ActionCreator; export declare function useStoreActions(actionSelector: ActionCreatorSelector): ActionCreator; export declare function useStoreActions(actionSelector: ActionMapObjectSelector): ActionCreatorsMapObject; export declare const useStoreState: TypedUseSelectorHook; export declare const useStore: () => Store; export declare const useDispatch: ReactFlowDispatch;