type Options = { shuffleAll: boolean } export default function shuffle(arr: T[], options?: Options): T[]