import Graph, {Attributes} from 'graphology-types'; import {MinimalEdgeMapper} from 'graphology-utils/getters'; type EdgeBetweennessCentralityMapping = {[edge: string]: number}; type EdgeBetweennessCentralityOptions = { edgeCentralityAttribute?: string; getEdgeWeight?: | keyof EdgeAttributes | MinimalEdgeMapper | null; normalized?: boolean; }; interface IEdgeBetweennessCentrality { < NodeAttributes extends Attributes = Attributes, EdgeAttributes extends Attributes = Attributes >( graph: Graph, options?: EdgeBetweennessCentralityOptions ): EdgeBetweennessCentralityMapping; assign< NodeAttributes extends Attributes = Attributes, EdgeAttributes extends Attributes = Attributes >( graph: Graph, options?: EdgeBetweennessCentralityOptions ): void; } declare const edgeBetweennessCentrality: IEdgeBetweennessCentrality; export default edgeBetweennessCentrality;