export declare const TREE_LAYOUTS: string[]; export declare const DEFAULT_THEME: { mode: string; primaryColor: string; nodeSize: number; edgeSize: number; edgePrimaryColor: string; }; export interface ThemeType { /** * @description 模式 light | dark * @default light */ mode: 'light' | 'dark'; /** * @description 主要的节点颜色 * @default #269a99 */ primaryColor: string; /** * @description 节点大小 * @default 26 */ nodeSize: number; /** * @description 边的大小,即边宽:lindwith * @default 0.5 */ edgeSize: number; /** * @description 边的主要颜色 * @default #ddd */ edgePrimaryColor: string; } export declare const genDefaultNodeStyle: ({ nodeSize, primaryColor, mode, labelSize, }: { nodeSize: number; primaryColor: string; mode: 'light' | 'dark'; labelSize?: number | undefined; }) => { defaultNodeStyle: { type: string; style: { keyshape: { size: number[]; fill: string; stroke: string; lineWidth: number; opacity: number; }; label: { position: string; value: string; fill: string; fontSize: number; offset: number; }; icon: { type: string; value: string; size: number; fill: string; }; badges: never[]; halo: {}; }; }; defaultNodeStatusStyle: { status: { selected: { halo: { visible: boolean; }; keyshape: { lineWidth: number; }; }; hover: { halo: { visible: boolean; }; }; active: { halo: { visible: boolean; }; }; inactive: { halo: { visible: boolean; }; keyshape: { lineWidth: number; fill: string; stroke: string; }; icon: { fill: string; }; label: { fill: string; }; }; }; }; }; export declare const genDefaultEdgeStyle: ({ edgeSize, edgePrimaryColor, mode }: ThemeType) => { defaultEdgeStyle: { type: string; style: { stroke: string; lineWidth: number; opacity: number; labelCfg: { fill: string; fontSize: number; }; }; }; defaultEdgeStatusStyle: { status: { selected: { stroke: string; animation: { repeat: boolean; }; }; hover: { stroke: string; }; }; }; }; export declare const getDefaultStyleByTheme: (inputTheme: ThemeType) => { defaultCombo: { type: string; labelCfg: { position: string; }; }; defaultEdgeStyle: { type: string; style: { stroke: string; lineWidth: number; opacity: number; labelCfg: { fill: string; fontSize: number; }; }; }; defaultEdgeStatusStyle: { status: { selected: { stroke: string; animation: { repeat: boolean; }; }; hover: { stroke: string; }; }; }; defaultNodeStyle: { type: string; style: { keyshape: { size: number[]; fill: string; stroke: string; lineWidth: number; opacity: number; }; label: { position: string; value: string; fill: string; fontSize: number; offset: number; }; icon: { type: string; value: string; size: number; fill: string; }; badges: never[]; halo: {}; }; }; defaultNodeStatusStyle: { status: { selected: { halo: { visible: boolean; }; keyshape: { lineWidth: number; }; }; hover: { halo: { visible: boolean; }; }; active: { halo: { visible: boolean; }; }; inactive: { halo: { visible: boolean; }; keyshape: { lineWidth: number; fill: string; stroke: string; }; icon: { fill: string; }; label: { fill: string; }; }; }; }; primaryColor: string; nodeSize: number; mode: string; background: string; };