import type { ChartsOverlayProps } from '@mui/x-charts/ChartsOverlay'; import type { ChartsWrapperProps } from '@mui/x-charts/ChartsWrapper'; import type { SankeyChartProps } from "./SankeyChart.mjs"; import type { ChartsContainerProProps } from "../ChartsContainerPro/index.mjs"; import { type SankeyChartPluginSignatures } from "./SankeyChart.plugins.mjs"; /** * 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.mjs").SankeyNodeIdentifierWithData) => void) | undefined; onLinkClick: ((event: React.MouseEvent, link: import("./sankey.types.mjs").SankeyLinkIdentifierWithData) => void) | undefined; }; overlayProps: ChartsOverlayProps; chartsWrapperProps: Omit; children: import("react").ReactNode; };