import { Mapper } from "../collections"; import { Transducer } from "./transducer"; export declare class FlatMapTransducer implements Transducer { mapper: Mapper | AsyncIterable>; constructor(mapper: Mapper | AsyncIterable>); async_(iterable: AsyncIterable): AsyncIterable; sync(iterable: Iterable): Iterable; } export declare function flatMap(mapper: Mapper | AsyncIterable>): FlatMapTransducer;