import { Delaunay } from 'd3-delaunay'; import { Margin } from '@anarock/nivo-core'; import { NodePositionAccessor } from './types'; /** * The delaunay generator requires an array * where each point is defined as an array * of 2 elements: [x: number, y: number]. * * Points represent the raw input data * and x/y represent accessors to x & y. */ export declare const computeMeshPoints: ({ points, getNodePosition, margin, }: { points: readonly Node_1[]; getNodePosition?: NodePositionAccessor | undefined; margin?: Margin | undefined; }) => [number, number][]; export declare const computeMesh: ({ points, width, height, margin, debug, }: { points: readonly [number, number][]; width: number; height: number; margin?: Margin | undefined; debug?: boolean | undefined; }) => { points: readonly [number, number][]; delaunay: Delaunay; voronoi: import("d3-delaunay").Voronoi | undefined; }; //# sourceMappingURL=computeMesh.d.ts.map