import type { DataXY } from 'cheminfo-types';
import type { XGetFromToIndexOptions } from '../x/xGetFromToIndex.ts';
/**
 * Computes the weighted mean value of an array of values.
 * @param data - array of DataXY.
 * @param options - options.
 * @returns weighted mean x value (center of mass).
 */
export declare function xyMassCenter(data: DataXY, options?: XGetFromToIndexOptions): number;
//# sourceMappingURL=xyMassCenter.d.ts.map