import { SagaGenerator } from 'typed-redux-saga'; import { WrapStreamingGeneratorOptions } from '../types'; export type { WrapStreamingGeneratorOptions } from '../types'; export declare class StreamTimeoutError extends Error { constructor(timeoutMs?: number); } export declare function wrapStreamingGenerator(generator: AsyncGenerator, onEvent: (chunk: R) => Generator, options?: number | WrapStreamingGeneratorOptions): SagaGenerator; //# sourceMappingURL=wrap-async-generator.d.ts.map