import type { Iteratee, TypeOfCollection } from '../types'; import type { Collection } from '@sdkset/types'; /** * 返回给定集合中的最小值。如果传递`iteratee`参数,`iteratee`将作为给定集合中值的排序依据。 * 如果给定集合为空,将返回`Infinity`。 * * @example * const numbers = [10, 5, 100, 2, 1000] * min(numbers) * => 2 * * @param list 给定集合 * @param iteratee 迭代器函数,通过 iteratee 进行转换,以简化速记语法 * @param context 上下文对象,若传递,则作为迭代器函数的执行上下文 this */ export declare function min>(list: V, iteratee?: I, context?: unknown): number | TypeOfCollection;