/** * Gets the first or last specified number of items of an array * * @since v0.0.1 * @category Array * @template {T} - The type of the array * @param {T[]} array - The original array * @param {number} count - If positive, the number of items to take from the start of the array If negative, the number of items to take from the end of the array * @returns {T[]} The first/last items of the array * @example * const array = [1, 2, 3]; * * take(array, 2) //=> [1, 2] * take(array, -2) //=> [2, 3] * take(array, 25) //=> [1, 2, 3] */ export declare const take: (array: T[], count: number) => T[];