import { IDefinitions, IActions, IConstants, IDefinitionObjects, IActionCreator, IFlattenDefinitions } from '../typings/creator'; declare class SagaActionCreator, A extends IActions, C extends IConstants, DO extends IDefinitionObjects> { protected readonly _actions: A; protected readonly _constants: C; protected readonly record: DO; protected _connectedEffects: IFlattenDefinitions; protected _originEffects: IFlattenDefinitions; /** * class constructor * @param definitions {IDefinitions} */ constructor(definitions: D); /** * get connectedEffects * @return {IDefinitions} * @description Return the effects wrapped from the connection */ get connectedEffects(): IFlattenDefinitions; /** * get effects * @return {IDefinitions} * @description Return the effects passed by definition */ get effects(): IFlattenDefinitions; /** * get actions * @return {IActions} * @description Return a created action creators record, * action keys both as from the initial definitions key */ get actions(): A; /** * get constants * @return {IConstants} * @description Return a created action constants record, * constant keys both as from the initial definitions key */ get constants(): C; /** * getRecord * @return {IDefinitionObjects} * @description Return a created record wrapped constants * and effect and original action key and takeType */ getRecord(): DO; /** * setWrappedEffects * @param effects {IDefinitions} * @description Set the connected effects from the connection */ setWrappedEffects(effects: IFlattenDefinitions): void; /** * mapConstants * @return {IConstants} * @description Extract constants from created effect record */ protected mapConstants(): C; /** * createActions * @return {IActions} * @description Generate actions from create effect record */ protected createActions(): A; protected getFlattenEffects(definitions: D): IFlattenDefinitions; /** * createRecord * @param definitions {IDefinitions} * @description Generate record wrapped constants * and effect and original action key and takeType */ protected createRecord(definitions: D): DO; /** * getAction * @param actionName {string} * @return {ActionCreator} * @description Generate action creator with action name */ static getAction(actionName: string): IActionCreator; } export default SagaActionCreator;