///
import type Client from "../Client";
import { type ImageFormat } from "../Constants";
import type { AllowedMentions, AnyChannel, AnyThreadChannel, Component, Embed, EmbedOptions, MessageActionRow, ModalActionRow, RawAllowedMentions, RawChannel, RawComponent, RawEmbed, RawEmbedOptions, RawMessageActionRow, RawModalActionRow, RawThreadChannel, ToComponentFromRaw, ToRawFromComponent } from "../types/channels";
import type { RawMember, RawSticker, RESTMember, Sticker } from "../types/guilds";
import type { ApplicationCommandOptions, RawApplicationCommandOption } from "../types/application-commands";
import Member from "../structures/Member";
/** A general set of utilities. These are intentionally poorly documented, as they serve almost no usefulness to outside developers. */
export default class Util {
#private;
static BASE64URL_REGEX: RegExp;
constructor(client: Client);
/** @hidden intentionally not documented - this is an internal function */
_convertImage(image: Buffer | string, name: string): string;
componentToParsed(component: T): ToComponentFromRaw;
componentToRaw(component: T): ToRawFromComponent;
componentsToParsed(components: Array): T extends RawModalActionRow ? Array : T extends RawMessageActionRow ? Array : never;
componentsToRaw(components: Array): T extends ModalActionRow ? Array : T extends MessageActionRow ? Array : never;
convertImage(img: Buffer | string): string;
convertSticker(raw: RawSticker): Sticker;
embedsToParsed(embeds: Array): Array