import { Observable, type OperatorFunction } from 'rxjs'; import type { OrchModel } from '../model'; export type ValidEpicAction = null | (() => void); export type EpicFactory

= (params: { payload$: Observable

; action: EpicAction; state$: ToObservableState; }) => Observable; export type EpicConfig = { factoryToLog?: unknown; }; export type EpicAction = {

(func: (...params: P) => void, ...params: P): Exclude; map

(func: (payload: P) => void): OperatorFunction; }; export type ToObservableState = (model: OrchModel) => Observable; export declare function epic

(model: OrchModel, factory: EpicFactory

, config?: EpicConfig): import("..").PayloadFunc; //# sourceMappingURL=epic.d.ts.map