declare module 'ml-distance-matrix' { function distanceMatrix( data: DataType[], distanceFunction: (valueA: DataType, valueB: DataType) => DistanceType, ): DistanceType[][]; export = distanceMatrix; }