/**
 * @template T
 * @param {function} random if you don't have a custom RNG, you can always pass {@link Math.random} instead
 * @param {T[]} array
 * @returns {T|undefined} returns undefined only if that value is in the array or if array is empty
 */
export function randomFromArray<T>(random: Function, array: T[]): T | undefined;
//# sourceMappingURL=randomFromArray.d.ts.map