import type { Observable } from 'rxjs'; export declare function asStream(gen: () => AsyncGenerator, void, void>): (ob: any) => void; export declare function isAsyncIterator(g: any): g is AsyncGenerator; export declare function isAsyncIteratorFunction(g: any): g is AsyncGeneratorFunction;