/** * Randomizes the order of elements in an `array` using the Fisher-Yates algorithm. * * This function takes an `array` and returns a new `array` with its elements shuffled in a random order. * * @template T - The type of elements in the `array`. * @param {T[]} array - The `array` to shuffle. * @returns {T[]} A new `array` with its elements shuffled in random order. */ declare function shuffle(array: ArrayLike | null | undefined): T[]; /** * Randomizes the order of elements in an `object` using the Fisher-Yates algorithm. * * This function takes an `object` and returns a new `object` with its values shuffled in a random order. * * @template T - The type of elements in the `object`. * @param {T} object - The `object` to shuffle. * @returns {T[]} A new `Array` with the values of the `object` shuffled in a random order. */ declare function shuffle(object: T | null | undefined): Array; export { shuffle };