import * as react from 'react'; /** * Full Unicode 15.1 emoji set, generated from emoji-test.txt. * DO NOT EDIT BY HAND — run scripts/generate-emoji-data.mjs. */ type EmojiEntry = { char: string; name: string; skinTones?: [string, string, string, string, string]; }; type EmojiCategory = { icon: string; label: string; emojis: EmojiEntry[]; }; declare const EMOJI_CATEGORY_ORDER: readonly ["smileys", "people", "animals", "food", "travel", "activities", "objects", "symbols", "flags"]; type EmojiCategoryKey = typeof EMOJI_CATEGORY_ORDER[number]; declare const EMOJI_DATA: Record; type EmojiFlatEntry = EmojiEntry & { category: EmojiCategoryKey; }; declare const EMOJI_ENTRIES: EmojiFlatEntry[]; declare const SKIN_TONES: readonly ["light", "medium-light", "medium", "medium-dark", "dark"]; type SkinTone = typeof SKIN_TONES[number]; type IndexedEntry = EmojiEntry & { category: EmojiCategoryKey; }; /** Resolve an emoji name to its character. */ declare function resolve(name: string): string | undefined; /** Search emojis by name substring. Returns matching base emoji characters. */ declare function search(query: string): string[]; /** Find an emoji entry by its character (toned or base). */ declare function find(char: string): IndexedEntry | undefined; /** Return the 5-tone variant array for an emoji (by char, toned or base). */ declare function skinTones(char: string): readonly [string, string, string, string, string] | undefined; /** Whether an emoji supports skin tones. */ declare function hasSkinTones(char: string): boolean; /** Return the toned variant for an emoji, or the base if no tones. */ declare function applyTone(char: string, tone: SkinTone | null): string; interface EmojiProps { name?: string; emoji?: string; tone?: SkinTone; size?: "sm" | "md" | "lg" | "xl"; className?: string; } declare function Emoji({ name, emoji, tone, size, className }: EmojiProps): react.JSX.Element | null; export { EMOJI_CATEGORY_ORDER as E, SKIN_TONES as S, EMOJI_DATA as a, EMOJI_ENTRIES as b, Emoji as c, type EmojiCategory as d, type EmojiCategoryKey as e, type EmojiEntry as f, type EmojiFlatEntry as g, type EmojiProps as h, type SkinTone as i, applyTone as j, find as k, hasSkinTones as l, skinTones as m, resolve as r, search as s };