/** * Ask for link creation * @param {string} linkId * @param {string} sourceId - the source port Identifier * @param {string} targetId - the target port Identifier * @param {Object} attr */ export declare const addLink: (linkId: string, sourceId: string, targetId: string, { data, graphicalAttributes }?: any) => { type: string; linkId: string; sourceId: string; targetId: string; data: any; graphicalAttributes: any; }; /** * Ask for change of link target * @deprecated * @param {string} linkId * @param {string} targetId - the target port identifier */ export declare const setLinkTarget: (linkId: string, targetId: string) => { type: string; linkId: string; targetId: string; }; /** * Ask for change of link source * @deprecated * @param {string} linkId * @param {string} sourceId - the source port identifier */ export declare const setLinkSource: (linkId: string, sourceId: string) => { type: string; linkId: string; sourceId: string; }; /** * Ask to set graphical attributes on link * @deprecated * @param {string} linkId * @param {Object} attr */ export declare const setLinkGraphicalAttributes: (linkId: string, graphicalAttributes: any) => { type: string; linkId: string; graphicalAttributes: any; }; /** * Ask to remove an graphical attribute on target link * @deprecated * @param {string} linkId * @param {string} attrKey - the key of the attribute to be removed */ export declare const removeLinkGraphicalAttribute: (linkId: string, graphicalAttributesKey: any) => { type: string; linkId: string; graphicalAttributesKey: any; }; /** * Ask to set data on link * @deprecated * @param {string} linkId * @param {Object} attr */ export declare const setLinkData: (linkId: string, data: any) => { type: string; linkId: string; data: any; }; /** * Ask to remove a data on target link * @deprecated * @param {string} linkId * @param {string} attrKey - the key of the attribute to be removed */ export declare const removeLinkData: (linkId: string, dataKey: any) => { type: string; linkId: string; dataKey: any; }; /** * Ask for link removal * @deprecated use deleteLink action * @param {string} linkId */ export declare const removeLink: (linkId: string) => { type: string; linkId: string; };