import { CmpFunc, ICloneable } from '../../types'; import { MinMax, ExtendedMin, ExtendedMax, ExtendedMinMax } from '../../class/min-max'; export declare class NumberMapUtils { static forEach(map: Record, callback: (element: TValue, key: number) => void): void; static map(map: Record, callback: (element: TValue, key: number) => TRes): Record; static reducedMap(map: Record, callback: (currVal: T, key: number) => TRes | null): Record; static clear(map: Record): void; static shallowCopy(map: Record): Record; static deepCopy>(map: Record): Record; static isEmpty(map: Record): boolean; static accumulate(map: Record, initAccValue: TAcc, callback: (acc: TAcc, currVal: T, key: number) => TAcc): TAcc; static keyBy(map: Record, callback: (element: T, key: number) => boolean): number | null; static elementBy(map: Record, callback: (element: T, key: number) => boolean): T | null; static containsBy(map: Record, callback: (element: T, key: number) => boolean): boolean; static toList(map: Record): T[]; static toListBy(map: Record, callback: (elem: T, key: number) => TRes, maxElements?: number): TRes[]; static anyOf(map: Record, callback: (currVal: T, key: number) => TRes | null): TRes | null; static unsafeAnyOf(map: Record, callback: (currVal: T, key: number) => TRes | null | undefined): TRes | null; static allOf(map: Record, callback: (currVal: T, key: number) => boolean): boolean; static mapLength(map: Record): number; static min(map: Record, getValue: (val: T, key: number) => number): T | null; static max(map: Record, getValue: (val: T, key: number) => number): T | null; static minMax(map: Record, getValue: (val: T, key: number) => number): MinMax | null; static minExtended(map: Record, getValue: (val: T, key: number) => number): ExtendedMin | null; static maxExtended(map: Record, getValue: (val: T, key: number) => number): ExtendedMax | null; static minMaxExtended(map: Record, getValue: (val: T, key: number) => number): ExtendedMinMax | null; static maxByCmp(map: Record, cmp: CmpFunc): T | null; static minByCmp(map: Record, cmp: CmpFunc): T | null; } //# sourceMappingURL=number.d.ts.map