import Graph, {Attributes, EdgeMapper} from 'graphology-types'; export default function weightedSize< NodeAttributes extends Attributes = Attributes, EdgeAttributes extends Attributes = Attributes >( graph: Graph, getEdgeWeight?: string | EdgeMapper ): number;