export function floydWarshall(g: any, weightFn: any, edgeFn: any): {};