import { MouseEvent, MutableRefObject } from 'react'; import { CirclePackingDataProps, CirclePackingCommonProps, CirclePackingCustomLayerProps, ComputedDatum, MouseHandlers } from './types'; export declare const useCirclePacking: ({ data, id, value, valueFormat, width, height, padding, leavesOnly, colors, colorBy, inheritColorFromParent, childColor, }: { data: CirclePackingDataProps["data"]; id: CirclePackingCommonProps["id"]; value: CirclePackingCommonProps["value"]; valueFormat?: CirclePackingCommonProps["valueFormat"]; width: number; height: number; padding: CirclePackingCommonProps["padding"]; leavesOnly: CirclePackingCommonProps["leavesOnly"]; colors: CirclePackingCommonProps["colors"]; colorBy: CirclePackingCommonProps["colorBy"]; inheritColorFromParent: CirclePackingCommonProps["inheritColorFromParent"]; childColor: CirclePackingCommonProps["childColor"]; }) => ComputedDatum[]; export declare const useCirclePackingZoom: (nodes: ComputedDatum[], zoomedId: CirclePackingCommonProps["zoomedId"], width: number, height: number) => ComputedDatum[]; export declare const useCirclePackingLabels: ({ nodes, label, filter, skipRadius, textColor, }: { nodes: ComputedDatum[]; label: CirclePackingCommonProps["label"]; filter: CirclePackingCommonProps["labelsFilter"]; skipRadius: CirclePackingCommonProps["labelsSkipRadius"]; textColor: CirclePackingCommonProps["labelTextColor"]; }) => { label: string | number; textColor: any; node: ComputedDatum; }[]; export declare const useNodeMouseHandlers: (node: ComputedDatum, { onMouseEnter, onMouseMove, onMouseLeave, onClick }: MouseHandlers) => Partial void>>; export declare const useMouseCircleDetection: ({ nodes, canvasEl, margin, }: { nodes: ComputedDatum[]; canvasEl: MutableRefObject; margin: { top: number; left: number; }; }) => (event: MouseEvent) => ComputedDatum | null | undefined; /** * Memoize the context to pass to custom layers. */ export declare const useCirclePackingLayerContext: ({ nodes, }: { nodes: ComputedDatum[]; }) => CirclePackingCustomLayerProps; //# sourceMappingURL=hooks.d.ts.map