1 | import { Action, Middleware, Dispatch } from 'redux';
|
2 | import { Epic } from './epic';
|
3 | interface Options<D = any> {
|
4 | dependencies?: D;
|
5 | }
|
6 | export interface EpicMiddleware<T extends Action, O extends T = T, S = void, D = any> extends Middleware<{}, S, Dispatch<any>> {
|
7 | run(rootEpic: Epic<T, O, S, D>): void;
|
8 | }
|
9 | export declare function createEpicMiddleware<T extends Action, O extends T = T, S = void, D = any>(options?: Options<D>): EpicMiddleware<T, O, S, D>;
|
10 | export {};
|
11 |
|
\ | No newline at end of file |