/** * Immutably replaces an item at the specified index of the array * * @since v0.0.1 * @category Array * @template {T} - The type of the array * @param {T[]} array - The array of items * @param {number} index - The index of the item to replace; use a negative index to count from the end * @param {T} item - The replacement item * @returns {T[]} * @example * const array = [7, 25, 21]; * * replaceAt(array, 1, 97) //=> [7, 97, 21] */ export declare const replaceAt: (array: T[], index: number, item: T) => T[];