class Collection extends Map<K, V>import { Collection } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/helpers/deps.ts"; ConstructorsnewCollection(entries?: (readonly (readonly [K, V])[] | null) | Map<K, V>, options?: CollectionOptions<K, V>)Type ParametersKVPropertiesmaxSize: number | undefinedsweeper: CollectionSweeper<K, V> & { intervalId?: number; } | undefinedMethodsarray()changeSweeperFilter(newFilter: (value: V,key: K,bot: Bot,) => boolean)changeSweeperInterval(newInterval: number)every(callback: (value: V, key: K) => boolean)filter(callback: (value: V, key: K) => boolean)find(callback: (value: V, key: K) => boolean)first(): V | undefinedRetrieve the value of the first element in this collection forceSet(key: K, value: V)last(): V | undefinedmap<T>(callback: (value: V, key: K) => T)random(): V | undefinedreduce<T>(callback: (accumulator: T,value: V,key: K,) => T, initialValue?: T): Tset(key: K, value: V)some(callback: (value: V, key: K) => boolean)startSweeper(options: CollectionSweeper<K, V>): numberstopSweeper(): voidimport Collectionimport { Collection } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/helpers/deps.ts";