import Action from '../base';
/**
 * Link Elements by color
 * @ignore
 */
declare class LinkByColor extends Action {
    private linkGroup;
    private cache;
    private getColorScale;
    private getLinkPath;
    private addLinkShape;
    private linkByElement;
    private removeLink;
    /**
     * 连接 elements
     */
    link(): void;
    /**
     * 取消连接 elements
     */
    unlink(): void;
    /**
     * 清除所有连接
     */
    clear(): void;
    /**
     * 销毁
     */
    destroy(): void;
}
export default LinkByColor;
