export function barycenter(
  g: any,
  movable: any
): (
  | {
      v: any;
      barycenter?: undefined;
      weight?: undefined;
    }
  | {
      v: any;
      barycenter: number;
      weight: any;
    }
)[];
