export function moveElementInArray(array: unknown[], element: unknown, newIndex: number, offset?: boolean): number;
Moves an element in an array *in place*.
export function moveElementInArray(array: unknown[], element: unknown, newIndex: number, offset?: boolean): number;
Moves an element in an array *in place*.