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<R>(generator: AsyncGenerator<R, R | null | undefined, unknown>, onEvent: (chunk: R) => Generator<any, any, any>, options?: number | WrapStreamingGeneratorOptions): SagaGenerator<void>;
//# sourceMappingURL=wrap-async-generator.d.ts.map