import { Observable } from 'rxjs'; import { AC, Deps, ExtractPayload, ActionLike, Action } from './types'; declare type AllowedAction = ActionLike | ActionLike[] | null; export declare type EpicResult = Observable | Promise | AllowedAction; export declare type EpicHandler = (payload: ExtractPayload>, deps: Deps, action: ReturnType & { type: symbol; }) => EpicResult; export declare class Epic { private handlers; private moduleHandlers; attach(epic: Epic): this; on(ac: TAC, handler: EpicHandler): this; onMany(ac: [TAC, TAC2], handler: EpicHandler): this; onMany(ac: [TAC, TAC2, TAC3], handler: EpicHandler): this; onMany(ac: [TAC, TAC2, TAC3, TAC4], handler: EpicHandler): this; onMany(ac: [TAC, TAC2, TAC3, TAC4, TAC5], handler: EpicHandler): this; onModule(moduleSymbol: symbol, handler: EpicHandler): this; toStream(sourceAction: Action, deps: Deps, log?: () => void): Observable[]; private createKey; private add; private getHandlers; } export {}; //# sourceMappingURL=Epic.d.ts.map