import { CategoryId } from "./category"; import { NodeCollection } from "./collection-node/nodeCollection"; import { LayoutGraph } from "./layoutGraph"; import { LegacyNode, NodeId } from "./node"; import { Properties } from "./properties"; import { NodeStyle, NodeStyles } from "./styles"; export declare class ApiNode { readonly id: NodeId; readonly category: CategoryId; properties: Properties; collection?: NodeCollection; legacyNode?: LegacyNode; graph?: LayoutGraph; constructor(id: NodeId, category: CategoryId, properties: Properties, collection?: NodeCollection, legacyNode?: LegacyNode, graph?: LayoutGraph); /** * Styles */ getStyles(): Partial; setStyles(styles: Partial): void; getStyle(key: K): NodeStyles[K]; setStyle(key: K, value: NodeStyles[K]): void; get visible(): boolean; /** * Identity */ clone(updates?: Partial): ApiNode; equals(other: ApiNode): boolean; }