import * as React from 'react'; type CategoryConfig = { category: Categories; name: string; icon?: React.ReactNode; /** * Selects a `CustomEmoji` group for `Categories.CUSTOM` entries. Each * grouped entry renders its own section and nav tab; ungrouped entries * share the classic customs bucket. */ group?: string; }; type EmojiData = { categories: Partial>; emojis: Record; }; interface DataEmoji { n: string[]; u: string; v?: string[]; a: string; } declare enum Categories { SUGGESTED = "suggested", CUSTOM = "custom", SMILEYS_PEOPLE = "smileys_people", ANIMALS_NATURE = "animals_nature", FOOD_DRINK = "food_drink", TRAVEL_PLACES = "travel_places", ACTIVITIES = "activities", OBJECTS = "objects", SYMBOLS = "symbols", FLAGS = "flags" } type EmojiInfo = Readonly<{ /** Canonical/base lowercase unified code. */ unified: string; /** The native emoji text for `unified`, ready to insert or render. */ emoji: string; /** Display name: the dataset's full name (the last of `names`). */ name: string; /** Search/display names in dataset order. */ names: readonly string[]; /** Lowercase unified codes for supported variations. */ variations: readonly string[]; /** Unicode/emoji version from the dataset. */ addedIn: string; }>; type EmojiDataOptions = Readonly<{ /** * Optional dataset in the same shape accepted by the picker's emojiData prop. * Omit for the packaged default English dataset. */ emojiData?: EmojiData; }>; /** * Lookup by base or variation unified code. * Trims/lowercases input, returns the canonical base record or undefined. */ declare function getEmojiByUnified(unified: string, options?: EmojiDataOptions): EmojiInfo | undefined; /** * Dataset search (not a snapshot of one picker instance's visible results). * Picker-only layers such as emojiVersion/hiddenEmojis/customEmojis are * intentionally not applied here; they remain Root-local filters. */ declare function searchEmojis(query: string, options?: EmojiDataOptions): readonly EmojiInfo[]; export { getEmojiByUnified, searchEmojis }; export type { EmojiData, EmojiDataOptions, EmojiInfo };