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