// This is the same type as the callable signature in `FlatMap` in `index.d.ts`.declarefunction flatMap<A, B, T extendsobject | undefined = undefined>(
xs: readonly A[],
fn: (this: T, x: A, index: number, array: A[]) =>readonly B[],
thisArg?: T,
): B[];
export = flatMap;