/** * @template T * @param {T[]} data - The data to be binned. * @param {string | number | ((d: T) => number) | null} [value] - Optional. An accessor function passed to `bin.value()`. If this is a string or number, it will be transformed into an accessor for that key. * @param {object} [options={}] - Options object * @param {[number, number]} [options.domain] - Optional. The domain passed to `bin.domain()`. Pass in your own domain if you'd like, otherwise computed automatically. * @param {number | number[] | ((values: number[]) => number[])} [options.thresholds] - Optional. The thresholds passed to `bin.thresholds()`, otherwise computed automatically. * @returns {Array} An array of bin arrays, where each bin extends Array and has x0 and x1 properties */ export default function bin(data: T_1[], value?: string | number | ((d: T_1) => number) | null, { domain, thresholds }?: { domain?: [number, number] | undefined; thresholds?: number | number[] | ((values: number[]) => number[]) | undefined; }): Array;