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