import { PlainObject, ClassOptions, RuleOptions } from '../types'; /** * @class styles 样式 * @constructor * @param {value} 初始化 */ export default class styles { private galaxyvis; classList: PlainObject; constructor(galaxyvis: any); /** * 添加规则 * @param options */ addRule: (options: RuleOptions) => import("./styleRule").StyleRule; /** * 创建一个新的class给点和边 * @param options * @param use * @returns */ createClass: (options: ClassOptions, use?: boolean) => import("./styleClass").StyleClass | undefined; /** * 返回所有的classes * @returns */ getClassList: () => { [key: string]: any; }; /** * 返回指定名字的class * @param className * @returns */ getClass: (className: string) => any; /** * 添加hover点的样式 * @param nodeAttributes * @returns */ setHoveredNodeAttributes: (nodeAttributes: PlainObject) => void; /** * 添加hover边的样式 * @param edgeAttributes * @returns */ setHoveredEdgeAttributes: (edgeAttributes: PlainObject) => void; /** * 添加selected点的样式 * @param nodeAttributes */ setSelectedNodeAttributes: (nodeAttributes: PlainObject) => void; /** * 添加selected边的样式 * @param nodeAttributes */ setSelectedEdgeAttributes: (edgeAttributes: PlainObject) => void; }