import * as React from 'react'; import { ScaleOrdinal } from 'd3-scale'; import { LABEL_DISPLAY_MODE_TYPE, SankeyDataNode } from './SankeyModels'; export interface SankeyNodeProps { node: SankeyDataNode; activeNodes: SankeyDataNode[]; nodeWidth: number; inactiveOpacity?: number; handleMouseOver?: (event: React.MouseEvent) => void; handleMouseLeave?: (event: React.MouseEvent) => void; handleNodeClick: (node: SankeyDataNode) => void; colorCategoryMapping: ScaleOrdinal | string[]; } export interface SankeyNodeLabelProps { node: SankeyDataNode; activeNodes: SankeyDataNode[]; nodeWidth: number; chartWidth: number; availableLabelWidth?: number; nodeTextColor: string; nodeValueColor?: string; maxNode?: SankeyDataNode; labelDisplay?: LABEL_DISPLAY_MODE_TYPE; unit?: string; isSplunk1cd?: boolean; inactiveOpacity?: number; } declare const SankeyNode: ({ node, activeNodes, nodeWidth, inactiveOpacity, handleMouseOver, handleMouseLeave, handleNodeClick, colorCategoryMapping, }: SankeyNodeProps) => React.JSX.Element; export declare const SankeyNodeLabel: ({ node, activeNodes, nodeWidth, chartWidth, availableLabelWidth, nodeTextColor, nodeValueColor, maxNode, labelDisplay: labelDisplayInput, unit, isSplunk1cd, inactiveOpacity, }: SankeyNodeLabelProps) => React.JSX.Element; export default SankeyNode; //# sourceMappingURL=SankeyNode.d.ts.map