export default swap; /** * Swapping the value either string or array in there specific position * * @since 1.4.86 * @category Collection * @param {number} firstValue The data you want to map * @param {number} secondValue data that you want to merge * @param {any[]|string} listValue Passing value either array or string * @returns {any} Return map either JSON or Array * @example * * swap(0, 2, 'foo') *=> off */ declare function swap(firstValue: number, secondValue: number, listValue: any[] | string): any;