import { DataRelation } from '../../data'; import { DrawerData, LayerOptions, LayerSankeyStyle, LayerStyle, Node, RectDrawerProps, TextDrawerProps } from '../../types'; import { LayerBase } from '../base'; type Key = 'node' | 'edge' | 'text'; type RibbonKey = 'x1' | 'y1' | 'x2' | 'y2' | 'x3' | 'y3' | 'x4' | 'y4'; export declare class LayerSankey extends LayerBase { private _data; private _style; protected textData: DrawerData[][]; protected nodeData: (DrawerData & { meta: AnyObject; stackedEdgeLength: [0, 0]; color: string; } & Node)[][]; protected edgeData: (Record & { color: string; length: number; })[]; get data(): Maybe; get style(): LayerSankeyStyle; constructor(options: LayerOptions); setData(data: LayerSankey['data']): void; setStyle(style: LayerStyle): void; update(): void; private getPath; draw(): void; } export {};