declare function shuffle<T = any> (array: T[], rng?: () => number): T[]

export = shuffle
