/** * Index range `[start, end)` of the points a path needs to draw everything * that is visible in `[-margin, canvasSize + margin]`: the visible points, the * nearest point outside on each side, and `EXTRA_CURVE_NEIGHBOURS` beyond * those. * * Falls back to the full range when positions are not non-decreasing or the * canvas size is unknown, because the scan relies on sorted positions. */ export declare function getVisibleIndexRange(data: Datum[], position: (datum: Datum, index: number) => number, canvasSize: number, margin: number): [start: number, end: number]; //# sourceMappingURL=visible-index-range.d.ts.map