import * as React from 'react'; import type { SeriesId } from '@mui/x-charts/internals'; import type { SankeyLayoutLink, SankeyLinkIdentifierWithData } from "./sankey.types.js"; export interface SankeyLinkElementProps { /** * The series ID to which the link belongs */ seriesId: SeriesId; /** * The link data */ link: SankeyLayoutLink; /** * Opacity to apply to the link */ opacity?: number; /** * Callback fired when a sankey item is clicked. * @param {React.MouseEvent} event The event source of the callback. * @param {SankeyLinkIdentifierWithData} link The sankey link identifier. */ onClick?: (event: React.MouseEvent, link: SankeyLinkIdentifierWithData) => void; } /** * @ignore - internal component. */ export declare const SankeyLinkElement: React.ForwardRefExoticComponent>;