declare module "@extra-array/flat" {
import type { mapFn, testFn } from "./_types";
/**
 * Flattens nested array to given depth.
 * @param x a nested array
 * @param n maximum depth (-1 => all)
 * @param fm map function (v, i, x)
 * @param ft test function (v, i, x)
 */
declare function flat(x: Iterable<any>, n?: number, fm?: mapFn<any, any>, ft?: testFn<any>): any[];
export = flat;
//# sourceMappingURL=flat.d.ts.map}
