import { Node } from '../../types/core'; /** * Extract group background color from node data */ export declare const getGroupBackground: (node: Node, isGroup: boolean) => string | undefined; /** * Extract group opacity from node data */ export declare const getGroupOpacity: (node: Node, isGroup: boolean) => number | undefined; /** * Calculate readable text color for group node */ export declare const getGroupTextColor: (groupBackground: string | undefined, isGroup: boolean) => string | undefined; /** * Calculate background color with applied opacity */ export declare const getBackgroundWithOpacity: (groupBackground: string | undefined, groupOpacity: number | undefined, isGroup: boolean) => string | undefined; export type NodeAppearance = { groupBackground: string | undefined; groupOpacity: number | undefined; groupTextColor: string | undefined; backgroundWithOpacity: string | undefined; }; /** * Compute all appearance properties for a node */ export declare const computeNodeAppearance: (node: Node, isGroup: boolean) => NodeAppearance; /** * Check if two appearances are equal */ export declare const areNodeAppearancesEqual: (prev: NodeAppearance, next: NodeAppearance) => boolean;