import { race, call, cancel, cancelled, fork, all, delay, ForkEffect, PutEffect } from 'redux-saga/effects'; import { AnyQAppMessage, AnyQAppMessageDef, ExtractQAppMessage } from './message'; import { AnyQAppModuleDef } from './module'; import { IQAppMsgSaga, IQAppSagaResult } from './saga'; declare function take(msgDef: T): IQAppSagaResult>; declare function take(msgDefs: T): IQAppSagaResult>; declare function takeEvery(msgDef: T, worker: IQAppMsgSaga): ForkEffect; declare function takeEvery(msgDefs: T, worker: IQAppMsgSaga): ForkEffect; declare function takeLatest(msgDef: T, worker: IQAppMsgSaga): ForkEffect; declare function takeLatest(msgDefs: T, worker: IQAppMsgSaga): ForkEffect; declare function takeLeading(msgDef: T, worker: IQAppMsgSaga): ForkEffect; declare function takeLeading(msgDefs: T, worker: IQAppMsgSaga): ForkEffect; declare function put(msg: AnyQAppMessage): PutEffect; declare function select TResult>(selector: Fn): IQAppSagaResult>; export { take, takeEvery, takeLatest, takeLeading, put }; export { race, call, select, cancel, cancelled, fork, all, delay };