import type { TranslationKey } from '@rocket.chat/ui-contexts'; type EmojiPackage = { emojiCategories: Array<{ key: string; i18n: TranslationKey }>; categoryIndex?: number; emojisByCategory: Record; toneList: Record; render: (message: string) => string; renderPicker: (emojiToRender: string) => string | undefined; sprites?: unknown; ascii?: boolean; list?: string[]; _regexpSignature?: string | null; _regexp?: RegExp | null; }; export type EmojiPackages = { packages: Record; list: Record< string, | { name?: string; category: string; emojiPackage: string; shortnames: string[]; uc_base: string; uc_greedy: string; uc_match: string; uc_output: string; aliases?: string[]; aliasOf?: undefined; extension?: string; etag?: string; unicode?: string; } | { name?: undefined; emojiPackage: string; aliasOf: string; extension?: undefined; aliases?: undefined; shortnames?: undefined; etag?: string; } >; };