import type { ChartsOverlayProps } from '@mui/x-charts/ChartsOverlay'; import type { ChartsWrapperProps } from '@mui/x-charts/ChartsWrapper'; import type { SankeyChartProps } from "./SankeyChart.js"; import type { ChartsContainerProProps } from "../ChartsContainerPro/index.js"; import { type SankeyChartPluginSignatures } from "./SankeyChart.plugins.js"; /** * A helper function that extracts SankeyChartProps from the input props * and returns an object with props for the children components of SankeyChart. * * @param props The input props for SankeyChart * @returns An object with props for the children components of SankeyChart */ export declare const useSankeyChartProps: (props: SankeyChartProps) => { chartsContainerProps: ChartsContainerProProps<"sankey", SankeyChartPluginSignatures>; sankeyPlotProps: { onNodeClick: ((event: React.MouseEvent, node: import("./sankey.types.js").SankeyNodeIdentifierWithData) => void) | undefined; onLinkClick: ((event: React.MouseEvent, link: import("./sankey.types.js").SankeyLinkIdentifierWithData) => void) | undefined; }; overlayProps: ChartsOverlayProps; chartsWrapperProps: Omit; children: import("react").ReactNode; };