import 'reflect-metadata'; import { Reducer, Action } from 'redux-actions'; import { Observable } from 'rxjs'; import { EpicAction, EpicLike, UnpackPayload } from './interface'; export interface CreateAction { (payload: T): EpicAction; (): EpicAction; } export declare abstract class EffectModule { abstract readonly defaultState: StateProps; private readonly ctor; private moduleAction$; constructor(); private moduleEpic; protected fromDecorated(method: Reducer | EpicLike): Observable>; protected createAction(actionType: ActionType): (payload?: T) => EpicAction; protected createAction(actionType: ActionType, ...args: any[]): (payload?: T) => EpicAction; protected createActionFrom(epicOrReducer: any): (...args: any[]) => EpicAction; protected markAsGlobal(action: Action): any; } export interface Constructorof { new (...args: any[]): T; } declare type UseLessAction = 'dispatch' | 'epic' | 'reducer' | 'allDispatch'; export declare const getAction: , T extends EffectModule>(target: Constructorof, actionName: M) => import("redux-actions").ActionFunction1, Action>>; export {};