import { BaseType, Selection } from 'd3-selection'; import { Arc } from 'd3-shape'; import { ColorAccessor, NumericAccessor } from '../../../../types/accessor'; import { GraphInputLink, GraphInputNode } from '../../../../types/graph'; import { GraphNode, GraphCircleLabel, GraphNodeAnimatedElement, GraphNodeAnimationState } from '../../types'; import { GraphConfigInterface } from '../../config'; export declare const NODE_SIZE = 30; export declare const LABEL_RECT_HORIZONTAL_PADDING = 10; export declare const LABEL_RECT_VERTICAL_PADDING = 4; export declare function getNodeSize(d: T, nodeSizeAccessor: NumericAccessor, index: number): number; export declare function arcTween(d: GraphNode, config: GraphConfigInterface, arcConstructor: Arc, el: GraphNodeAnimatedElement): (t: number) => string; export declare function polyTween(d: GraphNode, config: GraphConfigInterface, polygonConstructor: (nodeSize: number, nEdges?: number, endAngle?: number, isOpen?: boolean) => string, el: GraphNodeAnimatedElement): (t: number) => string; export declare function setLabelRect(labelSelection: Selection, selector: string): Selection; export declare function getX(node: GraphNode): number; export declare function getY(node: GraphNode): number; export declare function configuredNodeSize(nodeSizeAccessor: NumericAccessor): number; export declare function getMaxNodeSize(data: T[], nodeSize: NumericAccessor): number; export declare function getAverageNodeSize(data: T[], nodeSize: NumericAccessor): number; export declare function getSideLabelTextColor(label: GraphCircleLabel, context: SVGElement): string; export declare function getNodeColor(d: T, colorAccessor: ColorAccessor, index: number): string; export declare function getNodeIconColor(d: T, colorAccessor: ColorAccessor, index: number, context: SVGElement): string; export declare function isInternalHref(str: string): boolean;