import { Depth, FlatArray } from "../common/helpers";
export declare function flat<T, R, N, D extends Depth = 20>(iterator: Iterator<T, R, N>, depth?: D): Generator<FlatArray<T, D>, R, undefined>;
export declare function flatAsync<T, R, N, D extends Depth = 20>(iterator: AsyncIterator<T, R, N>, depth?: D): AsyncGenerator<FlatArray<T, D>, R, undefined>;
//# sourceMappingURL=flat.d.ts.map