import { default as React } from 'react';
import { ChartMargin } from '../types';
import { SankeyChartData } from './types';
export type SankeyLinkColorMode = 'source' | 'target';
export interface SankeyChartProps {
    data: SankeyChartData;
    margin?: ChartMargin;
    nodeWidth?: number;
    nodePadding?: number;
    linkOpacity?: number;
    linkHoverOpacity?: number;
    linkColorMode?: SankeyLinkColorMode;
    colors?: ReadonlyArray<string>;
    valueFormatter?: (value: number) => string;
}
export declare const SankeyChart: React.MemoExoticComponent<({ data, margin: marginProps, nodeWidth, nodePadding, linkOpacity, linkHoverOpacity, linkColorMode, colors: colorsProp, valueFormatter, }: SankeyChartProps) => React.JSX.Element>;
