import { AsyncIterableX } from './asynciterablex'; /** * Repeats the given source as long as the specified conditions holds, where * the condition is evaluated before each repeated source is iterated. * * @export * @template TSource * @param {AsyncIterable} source Source to repeat as long as the condition function evaluates to true. * @param {((signal?: AbortSignal) => boolean | Promise)} condition Condition that will be evaluated before the source sequence is iterated. * @returns {AsyncIterableX} An async-iterable which is repeated while the condition returns true. */ export declare function whileDo(source: AsyncIterable, condition: (signal?: AbortSignal) => boolean | Promise): AsyncIterableX;