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 type SankeyNodeExtra = SankeyNode; export type SankeyLinkExtra = SankeyLink; export declare const DEFAULT_COLOR = "rgba(255, 255, 255, 0.2)"; export declare const LABEL_PADDING_PERCENT = 0.1;