import { AbstractSnapshot } from './AbstractSnapshot'; import { WeightSample } from '../domain'; /** * A statistical snapshot of a {@link WeightedSnapshot}. */ export declare class WeightedSnapshot extends AbstractSnapshot { values: any[]; normWeights: any[]; quantiles: number[]; constructor(values: Array); /** * Returns the value at the given quantile. * * @param quantile a given quantile, in {@code [0..1]} * @return the value in the distribution at {@code quantile} */ getValue(quantile: number): any; /** * Returns the entire set of values in the snapshot. * * @return the entire set of values */ getValues(): number[]; /** * Returns the number of values in the snapshot. * * @return the number of values */ size(): number; /** * Returns the highest value in the snapshot. * * @return the highest value */ getMax(): number; /** * Returns the weighted arithmetic mean of the values in the snapshot. * * @return the weighted arithmetic mean */ getMean(): number; /** * Returns the lowest value in the snapshot. * * @return the lowest value */ getMin(): number; /** * Returns the weighted standard deviation of the values in the snapshot. * * @return the weighted standard deviation value */ getStdDev(): number; }