// @ts-nocheck

export const parseEmoji = emoji => {
  var _emoji$name;
  return {
    name: emoji.name,
    emoji: emoji.emoji,
    unicode_version: emoji.v,
    slug: emoji === null || emoji === void 0 ? void 0 : (_emoji$name = emoji.name) === null || _emoji$name === void 0 ? void 0 : _emoji$name.replace(/ /g, '_'),
    toneEnabled: emoji.toneEnabled
  };
};
//# sourceMappingURL=parseEmoji.js.map