import { t as Maybe } from "./Maybe-pvX1mStM.js"; //#region src/functions/min/min.d.ts /** * Computes the maximum value of array. If array is empty or nil, `undefined` is returned. * @param array The array to iterate over. * @returns The maximum value in the array, or `undefined` if the array is empty or nil. */ declare function min(array: Maybe): number; /** * Computes the minimum value of array. If array is empty or nil, `undefined` is returned. * @param array The array to iterate over. * @param valueExtractor An optional function used to extract a numeric value from each element. * @returns The element with the minimum value in the array according to the `valueExtractor`, or `undefined` if the array is empty or nil. */ declare function min(array: Maybe, valueExtractor: (value: T) => number): T | undefined; //#endregion export { min as t }; //# sourceMappingURL=min-DJEqJiZN.d.ts.map