import { ClassOptions, PlainObject, RuleOptions } from '../../types'; import { StyleRule } from '../../classes/styleRule'; import { StyleClass } from '../../classes/styleClass'; /** * 添加规则 * @param options * @param name * @returns */ export declare const stylesAddRule: (galaxyvis: any, options: RuleOptions) => StyleRule; /** * 创建class * @param options * @returns */ export declare const stylesCreateClass: (galaxyvis: any, options: ClassOptions, useRule?: boolean) => StyleClass | undefined; /** * 获取classlist * @returns */ export declare const stylesGetClassList: () => { [key: string]: any; }; /** * 获取单独的class * @param className * @returns */ export declare const stylesGetClass: (className: string) => any; /** * 设置hover点样式 * @param nodeAttributes */ export declare const stylesSetHoveredNodeAttributes: (galaxyvis: any, nodeAttributes: PlainObject) => void; /** * 设置边hover样式 * @param edgeAttributes */ export declare const stylesSetHoveredEdgeAttributes: (galaxyvis: any, edgeAttributes: PlainObject) => void; /** * 设置点select样式 * @param nodeAttributes */ export declare const stylesSetSelectedNodeAttributes: (galaxyvis: any, nodeAttributes: PlainObject) => void; /** * 设置边select样式 * @param edgeAttributes */ export declare const stylesSetSelectedEdgeAttributes: (galaxyvis: any, edgeAttributes: PlainObject) => void;