export type NodeRow = Record; export type LinkRow = Record; export type ProcessTreeNode = { key: string; id: string; label: string; rowIndex?: number; children: string[]; parents: string[]; hasMoreProcesses?: boolean; totalProcessCount?: number; row?: NodeRow; }; export type ProcessTreeLink = { id: string; source: string; target: string; value?: string | number | null; row?: LinkRow; }; export type TreeNodeLabelPart = { text: string; isChip: boolean; }; export type ProcessTreeBuiltInIcon = 'fire' | 'rectangleDashed' | 'cube' | 'servers' | 'container' | 'geoTag' | 'layersDoubleTransparent'; export type NodeMap = Record; export type LinkMap = Record; export type ProcessTreeButtonFilterConfig = { id: string; field: string; matchValue: string; matchValueLower: string; label: string; color: string | null; }; export type ProcessTreeNetworkRow = { key: string; name: string; inboundBytes: number; outboundBytes: number; color: string; backgroundColor?: string; }; export type ProcessNetworkLink = { id: string; processKey: string; networkKey: string; value: number; direction: 'inbound' | 'outbound'; }; export declare const getString: (value: unknown) => string | null; export declare const getField: (row: Record, fields: string[]) => unknown; export declare const getNodeFieldValue: (row: Record, fieldName: string) => string | null; export declare const areStringSetsEqual: (a: Set, b: Set) => boolean; export declare const areStringArraysEqual: (a: string[], b: string[]) => boolean; export declare const areBooleanMapsEqual: (a: Map, b: Map) => boolean; export declare const areNodeMapsStructurallyEqual: (a: NodeMap, b: NodeMap) => boolean; export declare const getTreeNodeLabelParts: (row: Record, rawId: string, treeNodeLabelFields: Array | null | undefined, fieldsToShowAsChip: Set | null, showFieldName: boolean) => TreeNodeLabelPart[]; export declare const formatBytes: (value: number) => string; export declare const nodeKey: (id: string) => string; export declare const buildLinkMap: (source: Array, target: Array, linkRows: LinkRow[], linkValues: Array) => LinkMap; export declare const buildNodeMap: (nodeId: Array, nodeRows: NodeRow[], linkMap: LinkMap, treeNodeLabelFields: Array | null | undefined, showFieldName: boolean) => NodeMap; export declare const sortChildren: (nodeMap: NodeMap, ids: string[]) => string[]; export declare const limitProcessTreeSiblings: (nodeMap: NodeMap, processLimit: number, processNodeKeys: Set, processChildPageNumbers?: Map) => NodeMap; export declare const filterProcessTreeBySearch: (nodeMap: NodeMap, rightSideNodeKeys: Set, searchQuery: string) => NodeMap; export declare const buildProcessNodeKeySet: (nodeMap: NodeMap, filteredNodeField: string) => Set; export declare const buildNodeLabelPartsByKey: (nodeMap: NodeMap, treeNodeLabelFields: Array | null | undefined, fieldsToShowAsChipSet: Set | null, showFieldName: boolean) => Map; export declare const buildRightSideNodeKeySet: (nodeMap: NodeMap, filteredNodeField: string, filteredNodeValueSet: Set) => Set; export declare const buildRootNodeIds: (nodeMap: NodeMap, rightSideNodeKeys: Set) => string[]; export declare const buildProcessNetworkLinks: (linkMap: LinkMap, rightSideNodeKeys: Set) => ProcessNetworkLink[]; export declare const buildButtonFilterConfigs: (filterButtonFields: string[] | null, filterButtonMatchValues: string[] | null, filterButtonNames: string[] | null, filterButtonColors: string[] | null) => ProcessTreeButtonFilterConfig[]; export declare const buildNodeColorByKey: (nodeId: Array, rowCount: number, nodeColors: Array | null) => Map; export declare const buildNodeColorByNetworkKey: (nodeId: Array, rowCount: number, nodeColors: Array | null) => Map; export declare const normalizeProcessTreeIcon: (value: unknown) => ProcessTreeBuiltInIcon | null; export declare const buildNodeIconByKey: (nodeId: Array, rowCount: number, nodeIcons: Array | null) => Map; export declare const buildExpansionDisabledByNodeKey: (nodeId: Array, rowCount: number, expansionPerNode: Array | null) => Map; export declare const buildInitialExpansionByNodeKey: (nodeId: Array, rowCount: number, expansionPerNode?: Array | null) => Map; export declare const buildNetworkRows: (nodeMap: NodeMap, rightSideNodeKeys: Set, processNetworkLinks: ProcessNetworkLink[], nodeColorByNetworkKey: Map, nodeColorByKey?: Map) => ProcessTreeNetworkRow[]; export declare const buildFilteredNetworkRows: (networkRows: ProcessTreeNetworkRow[], nodeMap: NodeMap, buttonFilterConfigs: ProcessTreeButtonFilterConfig[], activeButtonFilterIds: Set, searchQuery: string) => ProcessTreeNetworkRow[]; export declare const buildFilteredNodeToNetworkLinks: (filteredNetworkRows: ProcessTreeNetworkRow[], processNetworkLinks: ProcessNetworkLink[]) => ProcessNetworkLink[]; export declare const buildIndicatorColorsByNodeKey: (filteredNodeToNetworkLinks: ProcessNetworkLink[], nodeColorByNetworkKey: Map, nodeMap: NodeMap, rightSideNodeKeys: Set) => Map; export declare const buildNodeDirectionalBytesByKey: (filteredNodeToNetworkLinks: ProcessNetworkLink[], nodeMap: NodeMap, rightSideNodeKeys: Set) => Map; export declare const buildHighlightedAncestorExpansion: (nodeMap: NodeMap, rightSideNodeKeys: Set, highlightedTreeNodeKey: string) => Set; export declare const buildDefaultExpandedTreeItems: (nodeMap: NodeMap, rootNodeIds: string[], rightSideNodeKeys: Set) => Set; export declare const getInitialExpandedTreeItems: (nodeMap: NodeMap, rootNodeIds: string[], rightSideNodeKeys: Set, highlightedTreeNodeKey: string | null, initialExpansionByNodeKey?: Map) => Set; //# sourceMappingURL=processTreeUtils.d.ts.map