import { HierarchyNode } from 'd3-hierarchy'; import { DefaultTreeMapDatum, TreeMapCommonProps, TreeMapDataProps, ComputedNode, ComputedNodeWithHandlers, CustomLayerProps } from './types'; export declare const useTreeMapLayout: ({ width, height, tile, innerPadding, outerPadding, enableParentLabel, parentLabelSize, parentLabelPosition, leavesOnly, }: { width: number; height: number; tile: TreeMapCommonProps["tile"]; innerPadding: TreeMapCommonProps["innerPadding"]; outerPadding: TreeMapCommonProps["outerPadding"]; enableParentLabel: TreeMapCommonProps["enableParentLabel"]; parentLabelSize: TreeMapCommonProps["parentLabelSize"]; parentLabelPosition: TreeMapCommonProps["parentLabelPosition"]; leavesOnly: TreeMapCommonProps["leavesOnly"]; }) => import("d3-hierarchy").TreemapLayout; export declare const useHierarchy: ({ root, getValue, }: { root: Datum; getValue: (datum: Datum) => number; }) => HierarchyNode; export declare const useTreeMap: ({ data, width, height, identity, value, valueFormat, leavesOnly, tile, innerPadding, outerPadding, label, orientLabel, enableParentLabel, parentLabel, parentLabelSize, parentLabelPosition, parentLabelPadding, colors, colorBy, nodeOpacity, borderColor, labelTextColor, parentLabelTextColor, }: { data: TreeMapDataProps["data"]; width: number; height: number; identity?: TreeMapCommonProps["identity"]; value?: TreeMapCommonProps["value"]; valueFormat?: TreeMapCommonProps["valueFormat"]; tile?: TreeMapCommonProps["tile"]; leavesOnly?: TreeMapCommonProps["leavesOnly"]; innerPadding?: TreeMapCommonProps["innerPadding"]; outerPadding?: TreeMapCommonProps["outerPadding"]; label?: TreeMapCommonProps["label"]; orientLabel?: TreeMapCommonProps["orientLabel"]; enableParentLabel?: TreeMapCommonProps["enableParentLabel"]; parentLabel?: TreeMapCommonProps["parentLabel"]; parentLabelSize?: TreeMapCommonProps["parentLabelSize"]; parentLabelPosition?: TreeMapCommonProps["parentLabelPosition"]; parentLabelPadding?: TreeMapCommonProps["parentLabelPadding"]; colors?: TreeMapCommonProps["colors"]; colorBy?: TreeMapCommonProps["colorBy"]; nodeOpacity?: TreeMapCommonProps["nodeOpacity"]; borderColor?: TreeMapCommonProps["borderColor"]; labelTextColor?: TreeMapCommonProps["labelTextColor"]; parentLabelTextColor?: TreeMapCommonProps["parentLabelTextColor"]; }) => { hierarchy: HierarchyNode; nodes: ComputedNode[]; layout: import("d3-hierarchy").TreemapLayout; }; export declare const useInteractiveTreeMapNodes: (nodes: ComputedNode[], { isInteractive, onMouseEnter, onMouseMove, onMouseLeave, onClick, tooltip, }: { isInteractive: TreeMapCommonProps["isInteractive"]; onMouseEnter?: TreeMapCommonProps["onMouseEnter"]; onMouseMove?: TreeMapCommonProps["onMouseMove"]; onMouseLeave?: TreeMapCommonProps["onMouseLeave"]; onClick?: TreeMapCommonProps["onClick"]; tooltip: TreeMapCommonProps["tooltip"]; }) => ComputedNodeWithHandlers[]; export declare const useCustomLayerProps: ({ nodes, }: CustomLayerProps) => CustomLayerProps; //# sourceMappingURL=hooks.d.ts.map