import type { APIMessageComponentEmoji, Emoji } from 'discord.js'; export declare function isDefined(value: T | undefined | null): value is T; export declare function formatBytes(bytes: number, decimals?: number): string; export declare function parseDiscordEmoji(emoji: Emoji | APIMessageComponentEmoji): string; export declare function downloadImageToDataURL(url: string): Promise; /** * Converts a stream to a string * @param stream - The stream to convert */ export declare function streamToString(stream: NodeJS.ReadableStream): Promise;