declare function getRandomIndex(length: number): Promise; declare function getRandomItem(array: Array | readonly Type[]): Promise; interface RandomArrayItemsOptions { /** * A positive integer, with a count of how many random items you want to be picked. */ count: number; } /** NOTE: It could create duplicates. */ declare function getRandomItems(array: Array | readonly Type[], options: RandomArrayItemsOptions): Promise>; export { getRandomIndex, getRandomItem, getRandomItems };