/** * Runs all specified async-iterable sequences in parallel and collects their last elements. * * @export * @template T The type of the elements in the first source sequence. * @template T2 The type of the elements in the second source sequence. * @param {AsyncIterable} source First async-iterable source. * @param {AsyncIterable} source2 Second async-iterable source. * @returns {(Promise<[T, T2] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences. */ export declare function forkJoin(source: AsyncIterable, source2: AsyncIterable): Promise<[T, T2] | undefined>; /** * Runs all specified async-iterable sequences in parallel and collects their last elements. * * @export * @template T The type of the elements in the first source sequence. * @template T2 The type of the elements in the second source sequence. * @template T3 The type of the elements in the third source sequence. * @param {AsyncIterable} source First async-iterable source. * @param {AsyncIterable} source2 Second async-iterable source. * @param {AsyncIterable} source3 Third async-iterable source. * @returns {(Promise<[T, T2, T3] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences. */ export declare function forkJoin(source: AsyncIterable, source2: AsyncIterable, source3: AsyncIterable): Promise<[T, T2, T3] | undefined>; /** * Runs all specified async-iterable sequences in parallel and collects their last elements. * * @export * @template T The type of the elements in the first source sequence. * @template T2 The type of the elements in the second source sequence. * @template T3 The type of the elements in the third source sequence. * @template T4 The type of the elements in the fourth source sequence. * @param {AsyncIterable} source First async-iterable source. * @param {AsyncIterable} source2 Second async-iterable source. * @param {AsyncIterable} source3 Third async-iterable source. * @param {AsyncIterable} source4 Fourth async-iterable source. * @returns {(Promise<[T, T2, T3, T4] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences. */ export declare function forkJoin(source: AsyncIterable, source2: AsyncIterable, source3: AsyncIterable, source4: AsyncIterable): Promise<[T, T2, T3, T4] | undefined>; /** * Runs all specified async-iterable sequences in parallel and collects their last elements. * * @export * @template T The type of the elements in the first source sequence. * @template T2 The type of the elements in the second source sequence. * @template T3 The type of the elements in the third source sequence. * @template T4 The type of the elements in the fourth source sequence. * @template T5 The type of the elements in the fifth source sequence. * @param {AsyncIterable} source First async-iterable source. * @param {AsyncIterable} source2 Second async-iterable source. * @param {AsyncIterable} source3 Third async-iterable source. * @param {AsyncIterable} source4 Fourth async-iterable source. * @param {AsyncIterable} source5 Fifth async-iterable source. * @returns {(Promise<[T, T2, T3, T4, T5] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences. */ export declare function forkJoin(source: AsyncIterable, source2: AsyncIterable, source3: AsyncIterable, source4: AsyncIterable, source5: AsyncIterable): Promise<[T, T2, T3, T4, T5] | undefined>; /** * Runs all specified async-iterable sequences in parallel and collects their last elements. * * @export * @template T The type of the elements in the first source sequence. * @template T2 The type of the elements in the second source sequence. * @template T3 The type of the elements in the third source sequence. * @template T4 The type of the elements in the fourth source sequence. * @template T5 The type of the elements in the fifth source sequence. * @template T6 The type of the elements in the sixth source sequence. * @param {AsyncIterable} source First async-iterable source. * @param {AsyncIterable} source2 Second async-iterable source. * @param {AsyncIterable} source3 Third async-iterable source. * @param {AsyncIterable} source4 Fourth async-iterable source. * @param {AsyncIterable} source5 Fifth async-iterable source. * @param {AsyncIterable} source6 Sixth async-iterable source. * @returns {(Promise<[T, T2, T3, T4, T5, T6] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences. */ export declare function forkJoin(source: AsyncIterable, source2: AsyncIterable, source3: AsyncIterable, source4: AsyncIterable, source5: AsyncIterable, source6: AsyncIterable): Promise<[T, T2, T3, T4, T5, T6] | undefined>; /** * Runs all specified async-iterable sequences in parallel and collects their last elements. * * @export * @template T The type of the elements in the first source sequence. * @param {AbortSignal} signal An abort signal used for cancellation at any time. * @param {AsyncIterable} source First async-iterable source. * @returns {(Promise<[T] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences. */ export declare function forkJoin(signal: AbortSignal, source: AsyncIterable): Promise<[T] | undefined>; /** * Runs all specified async-iterable sequences in parallel and collects their last elements. * * @export * @template T The type of the elements in the first source sequence. * @template T2 The type of the elements in the second source sequence. * @param {AbortSignal} signal An abort signal used for cancellation at any time. * @param {AsyncIterable} source First async-iterable source. * @param {AsyncIterable} source2 Second async-iterable source. * @returns {(Promise<[T, T2] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences. */ export declare function forkJoin(signal: AbortSignal, source: AsyncIterable, source2: AsyncIterable): Promise<[T, T2] | undefined>; /** * Runs all specified async-iterable sequences in parallel and collects their last elements. * * @export * @template T The type of the elements in the first source sequence. * @template T2 The type of the elements in the second source sequence. * @template T3 The type of the elements in the third source sequence. * @param {AbortSignal} signal An abort signal used for cancellation at any time. * @param {AsyncIterable} source First async-iterable source. * @param {AsyncIterable} source2 Second async-iterable source. * @param {AsyncIterable} source3 Third async-iterable source. * @returns {(Promise<[T, T2, T3] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences. */ export declare function forkJoin(signal: AbortSignal, source: AsyncIterable, source2: AsyncIterable, source3: AsyncIterable): Promise<[T, T2, T3] | undefined>; /** * Runs all specified async-iterable sequences in parallel and collects their last elements. * * @export * @template T The type of the elements in the first source sequence. * @template T2 The type of the elements in the second source sequence. * @template T3 The type of the elements in the third source sequence. * @template T4 The type of the elements in the fourth source sequence. * @param {AbortSignal} signal An abort signal used for cancellation at any time. * @param {AsyncIterable} source First async-iterable source. * @param {AsyncIterable} source2 Second async-iterable source. * @param {AsyncIterable} source3 Third async-iterable source. * @param {AsyncIterable} source4 Fourth async-iterable source. * @returns {(Promise<[T, T2, T3, T4] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences. */ export declare function forkJoin(signal: AbortSignal, source: AsyncIterable, source2: AsyncIterable, source3: AsyncIterable, source4: AsyncIterable): Promise<[T, T2, T3, T4] | undefined>; /** * Runs all specified async-iterable sequences in parallel and collects their last elements. * * @export * @template T The type of the elements in the first source sequence. * @template T2 The type of the elements in the second source sequence. * @template T3 The type of the elements in the third source sequence. * @template T4 The type of the elements in the fourth source sequence. * @template T5 The type of the elements in the fifth source sequence. * @param {AbortSignal} signal An abort signal used for cancellation at any time. * @param {AsyncIterable} source First async-iterable source. * @param {AsyncIterable} source2 Second async-iterable source. * @param {AsyncIterable} source3 Third async-iterable source. * @param {AsyncIterable} source4 Fourth async-iterable source. * @param {AsyncIterable} source5 Fifth async-iterable source. * @returns {(Promise<[T, T2, T3, T4, T5] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences. */ export declare function forkJoin(signal: AbortSignal, source: AsyncIterable, source2: AsyncIterable, source3: AsyncIterable, source4: AsyncIterable, source5: AsyncIterable): Promise<[T, T2, T3, T4, T5] | undefined>; /** * Runs all specified async-iterable sequences in parallel and collects their last elements. * * @export * @template T The type of the elements in the first source sequence. * @template T2 The type of the elements in the second source sequence. * @template T3 The type of the elements in the third source sequence. * @template T4 The type of the elements in the fourth source sequence. * @template T5 The type of the elements in the fifth source sequence. * @template T6 The type of the elements in the sixth source sequence. * @param {AbortSignal} signal An abort signal used for cancellation at any time. * @param {AsyncIterable} source First async-iterable source. * @param {AsyncIterable} source2 Second async-iterable source. * @param {AsyncIterable} source3 Third async-iterable source. * @param {AsyncIterable} source4 Fourth async-iterable source. * @param {AsyncIterable} source5 Fifth async-iterable source. * @param {AsyncIterable} source6 Sixth async-iterable source. * @returns {(Promise<[T, T2, T3, T4, T5, T6] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences. */ export declare function forkJoin(signal: AbortSignal, source: AsyncIterable, source2: AsyncIterable, source3: AsyncIterable, source4: AsyncIterable, source5: AsyncIterable, source6: AsyncIterable): Promise<[T, T2, T3, T4, T5, T6] | undefined>; /** * Runs all specified async-iterable sequences in parallel and collects their last elements. * * @export * @template T The type of the elements in the source sequences. * @param {...AsyncIterable[]} sources The source sequences. * @returns {(Promise)} An async-iterable sequence with an array of all the last elements of all sequences. */ export declare function forkJoin(...sources: AsyncIterable[]): Promise; /** * Runs all specified async-iterable sequences in parallel and collects their last elements. * * @export * @template T The type of the elements in the source sequences. * @param {AbortSignal} signal An abort signal used for cancellation at any time. * @param {...AsyncIterable[]} sources The source sequences. * @returns {(Promise)} An async-iterable sequence with an array of all the last elements of all sequences. */ export declare function forkJoin(signal: AbortSignal, ...sources: AsyncIterable[]): Promise;