import { EmojiDataState } from '../hooks/useResolvedEmojiData'; import { EmojiClickData, SkinTones } from '../types/exposedTypes'; /** * The emoji currently hovered or keyboard-focused in the grid, in the same * shape `onEmojiClick` receives, or null. Use it to build a custom preview. */ export declare function useActiveEmoji(): EmojiClickData | null; /** * The active skin tone and a setter that behaves exactly like choosing a * tone in the built-in control: it updates the grid and calls * `onSkinToneChange` (when `skinTone` is controlled, only the callback * fires and the parent decides). */ export declare function useSkinTone(): [SkinTones, (skinTone: SkinTones) => void]; export type SearchState = { /** Accepted raw search text (controlled value or last committed edit). */ search: string; /** * Emojis the list shows for the applied search, or null while no search * is applied. Debounced like the list itself. */ resultCount: number | null; }; /** Read-only search state, e.g. for a custom status line or empty state. */ export declare function useSearchState(): SearchState; /** Dataset loading, recoverable failure and retry for this Root. */ export declare function useEmojiDataState(): EmojiDataState; /** Propose/commit raw text. Clear also restores focus to a mounted SearchInput. */ export declare function useSearchActions(): { setValue: (value: string) => void; clear: () => void; }; /** Public section identities and the same deferred jump used by CategoryNav. */ export declare function useCategoryNavigation(): { categories: { id: string; name: string; }[]; activeCategory: string | null; jumpToCategory: (categoryId: string) => void; }; /** Expansion respects allowExpandReactions; collapse activates the reactions bar. */ export declare function usePickerMode(): { reactionsOpen: boolean; canExpand: boolean; expand: () => void; collapse: () => void; };