export type Statistic = 'AVG' | 'COUNT' | 'MAX' | 'MEDIAN' | 'MIN' | 'PERCENTILE_1' | 'PERCENTILE_2' | 'PERCENTILE_5' | 'PERCENTILE_10' | 'PERCENTILE_15' | 'PERCENTILE_20' | 'PERCENTILE_25' | 'PERCENTILE_30' | 'PERCENTILE_35' | 'PERCENTILE_40' | 'PERCENTILE_45' | 'PERCENTILE_50' | 'PERCENTILE_55' | 'PERCENTILE_60' | 'PERCENTILE_65' | 'PERCENTILE_70' | 'PERCENTILE_75' | 'PERCENTILE_80' | 'PERCENTILE_85' | 'PERCENTILE_90' | 'PERCENTILE_95' | 'PERCENTILE_98' | 'PERCENTILE_99' | 'STD_DEV_POP' | 'STD_DEV_SAMPLE' | 'SUM' | 'TOP_1' | 'TOP_2' | 'TOP_3_AVG' | 'TOP_3'; export declare const asc: (arr: number[]) => number[]; export declare const desc: (arr: number[]) => number[]; export declare const sum: (arr: readonly number[]) => number; export declare const mean: (arr: readonly number[]) => number; export declare const std: (arr: readonly number[], usePopulation?: boolean) => number; export declare const quantile: (arr: readonly number[], q: number) => number | undefined; export declare const getStat: (arr: readonly number[], type: Statistic) => number | null; type AnyPercentile = 'MEDIAN' | 'PERCENTILE_1' | 'PERCENTILE_2' | 'PERCENTILE_5' | 'PERCENTILE_10' | 'PERCENTILE_15' | 'PERCENTILE_20' | 'PERCENTILE_25' | 'PERCENTILE_30' | 'PERCENTILE_35' | 'PERCENTILE_40' | 'PERCENTILE_45' | 'PERCENTILE_50' | 'PERCENTILE_55' | 'PERCENTILE_60' | 'PERCENTILE_65' | 'PERCENTILE_70' | 'PERCENTILE_75' | 'PERCENTILE_80' | 'PERCENTILE_85' | 'PERCENTILE_90' | 'PERCENTILE_95' | 'PERCENTILE_98' | 'PERCENTILE_99'; type AnyPercentileOrTop = AnyPercentile | 'TOP_1' | 'TOP_2' | 'TOP_3'; export declare const isPercentile: (type: Statistic) => type is AnyPercentile; export declare const isPercentileOrTop: (type: Statistic) => type is AnyPercentileOrTop; export declare const getNumericPercentile: (type: AnyPercentile) => number; export declare const getNumericTop: (type: 'TOP_1' | 'TOP_2' | 'TOP_3') => number; export declare const isTop: (type: Statistic) => type is "TOP_1" | "TOP_2" | "TOP_3"; export {};