/** * Immutably moves an item from one index to another * * @since v0.0.1 * @category Array * @template {T} - The type of the array * @param {T[]} array - The original array * @param {number} from - The index of the item to move * @param {number} to - The index to move the item to * @returns {T[]} * @example * const array = [7, 25, 21, 42]; * * move(array, 0, 3) //=> [25, 21, 42, 7] * move(array, 3, 0) //=> [42, 7, 25, 21] */ export declare const move: (array: T[], from: number, to: number) => T[];