import type { IterSource, Iteratee, IteratorOrIterable } from './types';
/**
 * Maps the input iterator to a new value `R` and flattens any resulting iterables or iterators by a depth of 1.
 * Behaves the same as `Array.prototype.flatMap`.
 */
export declare function flatMap<T extends IteratorOrIterable<unknown>, R>(arg: T, iteratee: Iteratee<IterSource<T>, R | IteratorOrIterable<R>>): IterableIterator<R>;
export declare function flatMap<T extends IteratorOrIterable<unknown>, R>(iteratee: Iteratee<IterSource<T>, R | IteratorOrIterable<R>>): (arg: T) => IterableIterator<R>;
export default flatMap;
//# sourceMappingURL=flatMap.d.ts.map