import { SankeyNode, SankeyLink } from 'd3-sankey'; export interface NodeExtra { /** * ID of the node. If not provided, the node's index will be used. */ id?: string; /** * Title of the node. */ title: string; /** * Color of the node. */ color?: string; } export interface LinkExtra { /** * Color of the link. */ color?: string; } export declare type SankeyNodeExtra = SankeyNode; export declare type SankeyLinkExtra = SankeyLink; export declare const DEFAULT_COLOR = "rgba(255, 255, 255, 0.2)";