import type { TypeOfCollection } from '../types'; import type { Collection } from '@sdkset/types'; /** * 返回一个数组,数组由给定值转换而成,在转换`arguments`对象时非常有用。 * * @example * (function(){ return toArray(arguments).slice(1) })(1, 2, 3, 4) * => [2, 3, 4] * * @param list 给定值 */ export declare function toArray(list: V): TypeOfCollection[];