mattermost-redux
Version:
Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client
9 lines (8 loc) • 632 B
TypeScript
import type { CustomEmoji } from '@mattermost/types/emojis';
import type { GlobalState } from '@mattermost/types/store';
import type { IDMappedObjects } from '@mattermost/types/utilities';
export declare const getCustomEmojisEnabled: (state: GlobalState) => boolean;
export declare const getCustomEmojis: (state: GlobalState) => IDMappedObjects<CustomEmoji>;
export declare const getCustomEmojisAsMap: (state: GlobalState) => Map<string, CustomEmoji>;
export declare const getCustomEmojisByName: (state: GlobalState) => Map<string, CustomEmoji>;
export declare const getCustomEmojiIdsSortedByName: (state: GlobalState) => string[];