/** * Regionally constrained clustering (REDCAP). * * ## Example * ```ts * import { redcap } from '@geoda/core'; * * const result = await redcap({ * k: 3, * data: [[1, 2, 3, 4]], * neighbors: [[1], [0, 2], [1, 3], [2]], * }); * ``` */ export declare function redcap({ k, data, neighbors, scaleMethod, redcapMethod, distanceMethod, boundVals, minBound, }: { k: number; data: number[][] | Float32Array[]; neighbors: number[][]; scaleMethod?: string; redcapMethod?: string; distanceMethod?: string; boundVals?: number[]; minBound?: number; }): Promise;