export declare const DEFAULT_CHART_WIDTH = 800; export declare const DEFAULT_CHART_HEIGHT = 500; export declare const DEFAULT_NODE_RADIUS = 24; export declare const MIN_NODE_DIAMETER = 12; export declare const MAX_NODE_DIAMETER = 200; export declare const DEFAULT_LINK_WIDTH = 2; export declare const MIN_LINK_WIDTH = 1; export declare const MAX_LINK_WIDTH = 20; export type NodeTypeStructural = { id: string; index: number; height: number; width: number; size?: number; label?: string; type?: string; children?: string[]; parents?: string[]; x?: number; y?: number; }; export type BuiltInIconType = 'arrowsDoubleLeftRight' | 'arrowsFourRightLeftUpDown' | 'arrowsFourTowardUp' | 'bell' | 'bookshelf' | 'buildings' | 'chartColumnMagnifier' | 'chartColumnSquare' | 'checkCircle' | 'chevronsSlash' | 'cloud' | 'cogChevronsSlash' | 'containership' | 'cube' | 'cylinder' | 'cylinderIndexTable' | 'cylinderMetrics' | 'cylinderMulti' | 'cylinderTrace' | 'cylinderWaves' | 'deviceEdgeHub' | 'deviceSignalWaves' | 'dotsThreeBalloon' | 'drive' | 'driveIndexTable' | 'driveMagnifier' | 'driveSliders' | 'envelope' | 'ethernetPort' | 'exclamationTriangle' | 'factory' | 'file' | 'fileLogs' | 'filter' | 'folder' | 'forwarderHeavy' | 'forwarderUniversal' | 'gate' | 'globe' | 'identityCard' | 'informationCircle' | 'informationDiamond' | 'laptopOpen' | 'layout' | 'license' | 'mobilePhone' | 'monitor' | 'monitorPhone' | 'networkDevice' | 'nodeBranch' | 'nodeModel' | 'nodeTopology' | 'picture' | 'portrait' | 'portraitsTwo' | 'printer' | 'processor' | 'reportDouble' | 'securityCamera' | 'servers' | 'serversCloud' | 'shoppingCart' | 'signalWavesAngled' | 'singleIndex' | 'slidersTripleHorizontal' | 'squaresAndCircles' | 'star' | 'store' | 'telescope' | 'token' | 'truck' | 'wallBricks' | 'wifiSignal' | 'cellularGateway'; type ExternalIconType = string & { __externalIconType?: never; }; export type IconType = BuiltInIconType | ExternalIconType; export type NodeTypeVisual = { id: string; index: number; color?: string; icon?: IconType; iconColor?: string; value?: number; tooltipFields?: Record; tooltipHeader?: MetaDataType | MetaDataType[]; }; export type LinkType = { id: string; source: string; target: string; color?: string; width?: number; tooltipFields?: Record; }; export type NodePositionType = { x: number; y: number; }; export type PositionMapType = { [id: string]: NodePositionType; }; export type NodeMapStructuralType = { [id: string]: NodeTypeStructural; }; export type NodeMapVisualType = { [id: string]: NodeTypeVisual; }; export type LinkMapType = { [id: string]: LinkType; }; export type ClusterLinkType = 'same' | 'mixed'; export type MetaDataType = string | number | boolean | null | undefined; export type NodeMetadataType = { [key: string]: MetaDataType | MetaDataType[]; }; export type NodeMetadataPayloadType = { [key: `row.${string}.value`]: MetaDataType | MetaDataType[]; }; export type NodeEventCallbackType = { id: string; value?: number; index: number; }; export type NodeEventCallbackWithPositionType = NodeEventCallbackType & { x: number; y: number; }; export type NodeEventPayloadType = { name: string; value?: number; } & NodeMetadataPayloadType; export type NodeEventPayloadWithPosition = NodeEventPayloadType & { position: { x: number; y: number; }; }; export type NodeEventPayloadWithTooltip = NodeEventPayloadType & { tooltipContext: { tooltipX: number; tooltipY: number; }; }; export interface NodeClickEvent { type: 'node.click'; payload: NodeEventPayloadType; } export interface NodeMouseOverEvent { type: 'node.mouseOver'; payload: NodeEventPayloadWithTooltip; } export interface NodeMouseOutEvent { type: 'node.mouseOut'; payload: NodeEventPayloadWithTooltip; } export interface NodeDragEvent { type: 'node.drag'; payload: NodeEventPayloadWithPosition; } export {}; //# sourceMappingURL=networkGraphShared.d.ts.map