import type { State } from "../reducer"; import type { SagaGenerator } from "../typed-saga"; import type { ActionHandler } from "../module"; import type { Module } from "../platform/Module"; type ActionHandlerWithMetaData = ActionHandler & { actionName: string; maskedParams: string; }; type HandlerInterceptor = (handler: ActionHandlerWithMetaData, thisModule: Module) => SagaGenerator; /** * A helper for ActionHandler functions (Saga). */ export declare function createActionHandlerDecorator = Module, Fn extends (this: This, ...args: any[]) => SagaGenerator = ActionHandler>(interceptor: HandlerInterceptor): (fn: Fn, context: ClassMethodDecoratorContext) => (this: This, ...args: any[]) => SagaGenerator; export {}; //# sourceMappingURL=createActionHandlerDecorator.d.ts.map