import { Optional, PromiseMapResult, SagaLowerEffectsScope, Saga, SagaFn, SagaIterator, SagaIteratorLike } from '../types'; export declare function callFn(this: SagaLowerEffectsScope, saga: SagaFn, ...args: P): T; export declare function callPromise = Promise>(this: SagaLowerEffectsScope, promise: P): Promise

; export declare function call(this: SagaLowerEffectsScope, saga: Saga, ...args: P): Promise; export declare function fork(this: SagaLowerEffectsScope, saga: Saga, ...args: P): SagaIterator; export declare function spawn(this: SagaLowerEffectsScope, saga: Saga, ...args: P): SagaIterator; export declare function delay(this: SagaLowerEffectsScope, ms?: number): Promise; export declare function all(this: SagaLowerEffectsScope, iters: T): Promise>; export declare function race | []>(this: SagaLowerEffectsScope, iters: T, withCancel?: boolean): Promise>>;