/* eslint-disable no-var */
import type { BushClient, BushClientUtil } from '#lib';
declare global {
	/**
	 * The bushbot client.
	 */
	var client: BushClient;

	/**
	 * The bushbot client util.
	 */
	var util: BushClientUtil;

	// eslint-disable-next-line @typescript-eslint/no-unused-vars
	interface ReadonlyArray<T> {
		includes<S, R extends `${Extract<S, string>}`>(
			this: ReadonlyArray<R>,
			searchElement: S,
			fromIndex?: number
		): searchElement is R & S;
	}
}