import type { Emoji, DiscordTimestamp } from './types.js'; export declare class DiscordComponentsError extends Error { constructor(message: string); } export declare function handleTimestamp(value: DiscordTimestamp, useTime?: boolean, hour24?: boolean): string | null; export declare const IMAGE_EXTENSION: RegExp; export declare function validateImageExtension(url: string): void; export declare function getGlobalEmojiUrl(emojiName: string): Emoji | undefined; /** * Get the image for a clan icon * * @param clanIcon - The clan icon to get the image for * @returns The image for the clan icon, or the clan icon itself if it's not found */ export declare function getClanIcon(clanIcon: string | undefined): object | string | undefined; //# sourceMappingURL=util.d.ts.map