```ts static
import {
EmojiSkinTone,
emojiSearch,
emojiAddRecent,
getCurrentSkinTone,
setCurrentSkinTone,
} from '@nextcloud/vue/dist/Functions/emoji.js'
```
## Definitions
```ts static
/**
* Skin tones supported by Unicode Emojis (Fitzpatrick scale)
* The numeric values align with `emoji-mart-vue`
*/
enum EmojiSkinTone {}
/**
* Get the list of emojis by search filter or the list of frequently used emojis
*
* @param query Emoji search filter string; if no string or empty string is given, the list of frequently used emojis is returned
* @param maxResults Maximum of returned emojis
* @return list of found emojis in the same format as the emoji-mart-vue-fast's EmojiIndex
*/
declare function emojiSearch(query: string, maxResults: number = 10): object[]
/**
* Add emoji to the list of recent emojis.
* This list can be got from emojiSearch function and it is used in NcEmojiPicker.
*
* @param emojiData object with `id` property
* @param emojiData.id the emoji ID from emoji index
*/
declare function emojiAddRecent(emojiData: { id: string }): void
/**
* Get the current skin tone index used for emojis
* @return The skin tone
*/
declare function getCurrentSkinTone(): EmojiSkinTone
/**
* Set the current active skin tone for emojis
*
* @param skinTone Skin tone
*/
declare function setCurrentSkinTone(skinTone: EmojiSkinTone): void
```
## Usage
```vue