export default function arrayMove(array: T[], fromIndex: number, toIndex: number): T[];