@openeditor/emoji 0.0.14 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/data.d.ts ADDED
@@ -0,0 +1,11 @@
1
+ declare const OPENEDITOR_EMOJI_DATA_LOCALE = "en";
2
+ type OpenEditorEmojiDataFile = "data.json" | "messages.json";
3
+ /**
4
+ * Returns the self-hosted data expected by Frimousse's emojibaseUrl contract.
5
+ * OpenEditor currently ships one locale deliberately so hosts do not need to
6
+ * expose a third-party CDN in their Content Security Policy.
7
+ */
8
+ declare const getOpenEditorEmojiData: (locale: string, file: string) => unknown | undefined;
9
+ declare const createOpenEditorEmojiDataResponse: (locale: string, file: string) => Response;
10
+
11
+ export { OPENEDITOR_EMOJI_DATA_LOCALE, type OpenEditorEmojiDataFile, createOpenEditorEmojiDataResponse, getOpenEditorEmojiData };