import { FC } from 'react'; export type EmojiPickerPopupProps = { /** * Access token of the logged-in user. Is needed to load and save the history of the emojis. */ accessToken?: string; /** * The DOM element that should receive the popup portal. */ container?: Element; /** * Whether the picker trigger is disabled. */ isDisabled?: boolean; /** * Function that is executed when the visibility of the popup changes. * @param {boolean} isVisible - Whether the popup is visible or not */ onPopupVisibilityChange?: (isVisible: boolean) => void; /** * Person id of the logged-in user. Is needed to load and save the history of the emojis. */ personId?: string; /** * Function executed when an emoji is selected in the popup * @param {string} emoji - Emoji that was selected */ onSelect: (emoji: string) => void; /** * Enables keyboard-only focus highlighting for the picker trigger. */ shouldEnableKeyboardHighlighting?: boolean; /** * Receives focus after an emoji is selected with the keyboard. */ onSelectWithKeyboard?: (emoji: string) => void; }; declare const EmojiPickerPopup: FC; export default EmojiPickerPopup;