/**
 * Swap an array item to a different position. Returns a new array with the item swapped to the new position.
 */
export declare function arraySwap<T>(array: T[], from: number, to: number): T[];
