import type { RunnableConfig } from "../runnables/types.js"; export declare function isIterableIterator(thing: unknown): thing is IterableIterator; export declare const isIterator: (x: unknown) => x is Iterator; export declare function isAsyncIterable(thing: unknown): thing is AsyncIterable; export declare function consumeIteratorInContext(context: Partial | undefined, iter: IterableIterator): IterableIterator; export declare function consumeAsyncIterableInContext(context: Partial | undefined, iter: AsyncIterable): AsyncIterableIterator;