/** * calculate all the connected domains based on the given two-dimensional array */ /** * @param {Array} tdArray * @param {Function} indicator It receive the raw point data as the first parameter and decide what kind of domain the point belongs to, it should return a string as a domain identifier. * @param {Boolean} hardlink If use hard link. Default to false. * @return {Object} [{ bounding: { w: 12, h: 19, x: 0, y: 1 }, points: [ { x: 1, y: 2, point: {} } ], identifier: 'blue', domainId: 1 } ] */ export default function _default(tdArray: any[], indicator: Function, hardlink: boolean): Object;