import { AsyncIterableX } from '../asynciterablex.js'; import { MonoTypeOperatorAsyncFunction } from '../../interfaces.js'; /** @ignore */ export declare class TakeUntilAsyncIterable extends AsyncIterableX { private _source; private _other; constructor(source: AsyncIterable, other: (signal?: AbortSignal) => Promise); [Symbol.asyncIterator](signal?: AbortSignal): AsyncGenerator, void, unknown>; } /** * Returns the elements from the source async-iterable sequence until the other function * that returns a promise produces an element. * * @template TSource The type of the elements in the source sequence. * @param {(signal?: AbortSignal) => Promise} other A function that terminates the propagation of * elements in the source sequence. * @returns {MonoTypeOperatorAsyncFunction} An async-iterable sequence containing the elements of the * source sequence up to the point the other function which returns a promise interrupted further propagation. */ export declare function takeUntil(other: (signal?: AbortSignal) => Promise): MonoTypeOperatorAsyncFunction;