import { Epic, EpicMiddleware } from "redux-observable"; import { IAction } from "~/redux/action"; import { State } from "~/redux/types/State"; import { Cloud, Context, Shopify } from "~/types/Context"; import { Translator } from "~/locale/useTranslation"; export declare type GenericEpic = Epic; export declare type GenericEpicMiddleware = EpicMiddleware; export declare type IEpic = GenericEpic; export declare type CloudEnvEpic = GenericEpic<{ context: Cloud; t: Translator; }>; export declare type ShopifyEnvEpic = GenericEpic<{ context: Shopify; t: Translator; }>; export declare const rootEpicCreator: Epic, IAction, State, Context>;