<commit_before>/* @flow */
import emojiMap from './emojiMap';
import type { RealmEmojiType } from '../types';

export default (query: string, realmEmoji: { [string]: RealmEmojiType }) =>
  // TODO: this doesn't actually handle realm emoji.  See our issue #2846.
  Array.from(
    new Set([
      ...Object.keys(emojiMap)<commit_msg>flow: Provide return type for `getFilteredEmojiList`<commit_after>/* @flow */
import emojiMap from './emojiMap';
import type { RealmEmojiType } from '../types';

export default (query: string, realmEmoji: { [string]: RealmEmojiType }): string[] =>
  // TODO: this doesn't actually handle realm emoji.  See our issue #2846.
  Array.from(
    new Set([
      ...Object.keys(emojiMap)
{'fraction_non_alphanumeric': 0.14866760168302945, 'fraction_numerical': 0.011220196353436185, 'mean_word_length': 3.791946308724832, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5304542', 'n_tokens_mistral': 234, 'n_tokens_neox': 237, 'n_words': 71}