/** * 移除Class * @param that * @param className class名字 * @param type class/rule的类型 * @param nodeOrEdge 边或者点 * @param isReFresh 是否调用render * @returns */ export declare const removeClass: (that: any, className: string, type: number, nodeOrEdge: boolean, isReFresh?: boolean) => Promise; /** * 添加Class * @param that * @param className class名字 * @param type class/rule的类型 * @param nodeOrEdge 边或者点 * @param isReFresh 是否调用render * @returns */ export declare const addClass: (that: any, className: string, type: number | undefined, nodeOrEdge: boolean, update?: boolean) => Promise; /** * 获取class列表 * @param that * @returns */ export declare const getClassList: (that: any) => any; /** * 重置属性 * @param that * @param nodeOrEdge 边或者点 * @param attributeNames 重置属性 */ export declare const resetAttributes: (that: any, nodeOrEdge: boolean, update?: boolean, attributeNames?: any[]) => Promise; /** * 获取data数据 * @param that * @param param 要获取那些数据 * @returns */ export declare const getData: (that: any, param: string | Array) => any; /** * 设置data数据 * @param that * @param nodeOrEdge * @param param * @param value * @returns */ export declare const setData: (that: any, nodeOrEdge: boolean, param: string | Array, value: any, isRender?: boolean) => any; /** * 返回id * @param that * @returns */ export declare const getId: (that: any) => any; /** * 获取属性 * @param that * @param attribute * @returns */ export declare const getAttribute: (that: any, attribute?: any) => any; /** * 设置属性 * @param that * @param attribute * @returns */ export declare const setAttribute: (that: any, attribute: any, isEdgeList?: boolean) => Promise; export declare const hasClass: (that: any, className: any) => boolean;