import { AsyncIterableLike } from "../async-like"; export type FlatMapFn = (this: This, value: T, parent: Parent) => Iterable; export type FlatMapAsyncFn = (this: This, value: T, parent: Parent) => Promise> | AsyncIterableLike; export declare function flatMap(iterable: Iterable, callbackFn: FlatMapFn, thisValue?: This, parent?: Parent): Iterable; export declare function asyncFlatMap(iterable: AsyncIterableLike, callbackFn: FlatMapAsyncFn, thisValue?: This, parent?: Parent): AsyncIterable;