@parseapi/sdk 1.10.0 → 1.10.2
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/README.md +34 -0
- package/dist/index.cjs +282 -4
- package/dist/index.d.cts +231 -2
- package/dist/index.d.ts +231 -2
- package/dist/index.js +278 -4
- package/dist/offline.cjs +288 -0
- package/dist/offline.d.cts +239 -0
- package/dist/offline.d.ts +239 -0
- package/dist/offline.js +260 -0
- package/package.json +12 -2
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Response types for the ParseAPI public API.
|
|
3
|
+
* Core answers the common task; optional deep reveals the reviewed detail.
|
|
4
|
+
* Every field inside a deep object is optional and nullable: the API ships
|
|
5
|
+
* `deep: {}` when deep was requested but is not unlocked on the plan.
|
|
6
|
+
*/
|
|
7
|
+
/** The `deep` key is omitted unless the request asked for it. */
|
|
8
|
+
type Deep<T> = Partial<{
|
|
9
|
+
[K in keyof T]: T[K] | null;
|
|
10
|
+
}>;
|
|
11
|
+
interface EmojiSkin {
|
|
12
|
+
emoji: string;
|
|
13
|
+
tone: string;
|
|
14
|
+
unicode: string | null;
|
|
15
|
+
hex: string | null;
|
|
16
|
+
}
|
|
17
|
+
interface Emoji {
|
|
18
|
+
emoji: string;
|
|
19
|
+
name: string;
|
|
20
|
+
shortcodes: string[];
|
|
21
|
+
category: string | null;
|
|
22
|
+
deep?: Deep<EmojiDeep>;
|
|
23
|
+
}
|
|
24
|
+
interface EmojiSearch {
|
|
25
|
+
q: string;
|
|
26
|
+
emojis: Emoji[];
|
|
27
|
+
total?: number;
|
|
28
|
+
next_offset?: number | null;
|
|
29
|
+
}
|
|
30
|
+
interface EmojiBrowse {
|
|
31
|
+
emojis: Emoji[];
|
|
32
|
+
total: number;
|
|
33
|
+
next_offset: number | null;
|
|
34
|
+
}
|
|
35
|
+
interface EmojiVariant {
|
|
36
|
+
emoji: string;
|
|
37
|
+
tones: string[];
|
|
38
|
+
}
|
|
39
|
+
interface EmojiArtwork {
|
|
40
|
+
svg?: string;
|
|
41
|
+
png?: Record<string, string>;
|
|
42
|
+
/** Only present when this asset has different rights from its provider. */
|
|
43
|
+
license?: string;
|
|
44
|
+
license_url?: string;
|
|
45
|
+
attribution?: string;
|
|
46
|
+
}
|
|
47
|
+
interface EmojiSource {
|
|
48
|
+
id: string;
|
|
49
|
+
version: string | null;
|
|
50
|
+
source_url: string;
|
|
51
|
+
license: string;
|
|
52
|
+
license_url: string;
|
|
53
|
+
}
|
|
54
|
+
interface EmojiNotice {
|
|
55
|
+
id: string;
|
|
56
|
+
license: string;
|
|
57
|
+
notice: string;
|
|
58
|
+
}
|
|
59
|
+
interface EmojiArtworkSource {
|
|
60
|
+
style: string;
|
|
61
|
+
version: string | null;
|
|
62
|
+
unicode_version: string | null;
|
|
63
|
+
source_url: string;
|
|
64
|
+
license: string;
|
|
65
|
+
license_url: string;
|
|
66
|
+
attribution: string;
|
|
67
|
+
notices: string[];
|
|
68
|
+
loaded_coverage?: {
|
|
69
|
+
svg: number;
|
|
70
|
+
png: number;
|
|
71
|
+
};
|
|
72
|
+
flag_license?: {
|
|
73
|
+
license: string;
|
|
74
|
+
license_url: string;
|
|
75
|
+
description: string;
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
interface EmojiMetadata {
|
|
79
|
+
edition: string;
|
|
80
|
+
max_version: string | null;
|
|
81
|
+
source_version: string;
|
|
82
|
+
total: number;
|
|
83
|
+
sources: EmojiSource[];
|
|
84
|
+
artwork_sources: EmojiArtworkSource[];
|
|
85
|
+
notices: EmojiNotice[];
|
|
86
|
+
completeness: {
|
|
87
|
+
missing_count: number;
|
|
88
|
+
unexpected_count: number;
|
|
89
|
+
};
|
|
90
|
+
shortcode_sources?: Record<string, EmojiShortcodeSourceMetadata>;
|
|
91
|
+
[field: string]: unknown;
|
|
92
|
+
}
|
|
93
|
+
interface EmojiCatalogScope {
|
|
94
|
+
filters: Record<string, string>;
|
|
95
|
+
total: number;
|
|
96
|
+
complete_inventory: boolean;
|
|
97
|
+
}
|
|
98
|
+
interface EmojiNativeSearchFacts {
|
|
99
|
+
name: string | null;
|
|
100
|
+
keywords: string[];
|
|
101
|
+
order?: number | null;
|
|
102
|
+
}
|
|
103
|
+
interface EmojiCatalogSearchFacts {
|
|
104
|
+
native: Record<string, EmojiNativeSearchFacts>;
|
|
105
|
+
localized_keywords?: string[];
|
|
106
|
+
}
|
|
107
|
+
interface EmojiCatalogData {
|
|
108
|
+
profile?: 'full' | 'compact';
|
|
109
|
+
scope?: Omit<EmojiCatalogScope, 'total'>;
|
|
110
|
+
search?: EmojiCatalogSearchFacts;
|
|
111
|
+
localization?: EmojiCatalogLocalization;
|
|
112
|
+
metadata: EmojiMetadata;
|
|
113
|
+
total: number;
|
|
114
|
+
emojis: Emoji[];
|
|
115
|
+
forms: Record<string, string>;
|
|
116
|
+
shortcodes: Record<'cldr' | 'github' | 'slack' | 'discord', Record<string, string[]>>;
|
|
117
|
+
legacy: Record<string, string>;
|
|
118
|
+
}
|
|
119
|
+
interface EmojiCatalogLocalization {
|
|
120
|
+
requested_locale: string | null;
|
|
121
|
+
resolved_locale: string | null;
|
|
122
|
+
translated_names: number;
|
|
123
|
+
translated_keywords: number;
|
|
124
|
+
fallback_names: number;
|
|
125
|
+
fallback_keywords: number;
|
|
126
|
+
}
|
|
127
|
+
interface EmojiShortcodeSourceMetadata {
|
|
128
|
+
records: number;
|
|
129
|
+
missing_records: number;
|
|
130
|
+
ambiguous_aliases: number;
|
|
131
|
+
}
|
|
132
|
+
interface EmojiCategory {
|
|
133
|
+
category: string;
|
|
134
|
+
subcategories: string[];
|
|
135
|
+
}
|
|
136
|
+
interface EmojiCategories {
|
|
137
|
+
categories: EmojiCategory[];
|
|
138
|
+
}
|
|
139
|
+
/** UTF-16 code-unit positions. End is exclusive. */
|
|
140
|
+
interface EmojiPosition {
|
|
141
|
+
start: number;
|
|
142
|
+
end: number;
|
|
143
|
+
}
|
|
144
|
+
/** Original input UTF-16 positions; end is exclusive. */
|
|
145
|
+
interface EmojiUnresolved extends EmojiPosition {
|
|
146
|
+
emoji?: string;
|
|
147
|
+
shortcode?: string;
|
|
148
|
+
reason: 'unknown' | 'ambiguous' | 'unavailable';
|
|
149
|
+
}
|
|
150
|
+
interface EmojiDeep {
|
|
151
|
+
subcategory?: string | null;
|
|
152
|
+
base?: string | null;
|
|
153
|
+
variants?: EmojiVariant[];
|
|
154
|
+
codepoints: string[];
|
|
155
|
+
hex: string;
|
|
156
|
+
status: string | null;
|
|
157
|
+
version: string | null;
|
|
158
|
+
keywords: string[];
|
|
159
|
+
skins: EmojiSkin[];
|
|
160
|
+
artwork?: Record<string, EmojiArtwork>;
|
|
161
|
+
}
|
|
162
|
+
interface EmojiParse {
|
|
163
|
+
emojis: (Emoji & {
|
|
164
|
+
positions: EmojiPosition[];
|
|
165
|
+
})[];
|
|
166
|
+
}
|
|
167
|
+
interface EmojiConversion {
|
|
168
|
+
text: string;
|
|
169
|
+
unresolved: EmojiUnresolved[];
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
interface EmojiCatalogLookupOptions {
|
|
173
|
+
deep?: boolean;
|
|
174
|
+
shortcodeSource?: string;
|
|
175
|
+
}
|
|
176
|
+
interface EmojiCatalogSearchOptions {
|
|
177
|
+
deep?: boolean;
|
|
178
|
+
limit?: number;
|
|
179
|
+
offset?: number;
|
|
180
|
+
category?: string;
|
|
181
|
+
subcategory?: string;
|
|
182
|
+
version?: string;
|
|
183
|
+
maxVersion?: string;
|
|
184
|
+
includeSkinTones?: boolean;
|
|
185
|
+
}
|
|
186
|
+
interface EmojiCatalogParseOptions {
|
|
187
|
+
deep?: boolean;
|
|
188
|
+
}
|
|
189
|
+
interface EmojiCatalogConvertOptions {
|
|
190
|
+
direction: 'to_shortcodes' | 'to_emoji';
|
|
191
|
+
shortcodeSource: 'cldr' | 'github' | 'slack' | 'discord';
|
|
192
|
+
}
|
|
193
|
+
interface EmojiCatalogRegexOptions {
|
|
194
|
+
qualifiedOnly?: boolean;
|
|
195
|
+
components?: boolean;
|
|
196
|
+
}
|
|
197
|
+
/** A local validation or resolution failure. No HTTP request was made. */
|
|
198
|
+
declare class EmojiCatalogError extends Error {
|
|
199
|
+
readonly code: 'validation_error' | 'not_found' | 'invalid_catalog';
|
|
200
|
+
constructor(code: 'validation_error' | 'not_found' | 'invalid_catalog', message: string);
|
|
201
|
+
}
|
|
202
|
+
/** Immutable local snapshot. All operations are synchronous and use no network. */
|
|
203
|
+
declare class EmojiCatalog {
|
|
204
|
+
private readonly data;
|
|
205
|
+
private readonly byGlyph;
|
|
206
|
+
private readonly names;
|
|
207
|
+
private readonly aliases;
|
|
208
|
+
private readonly sourceAliases;
|
|
209
|
+
private readonly encodings;
|
|
210
|
+
private readonly searchFacts;
|
|
211
|
+
private readonly categoryKeys;
|
|
212
|
+
private readonly subcategoryKeys;
|
|
213
|
+
private readonly filterCache;
|
|
214
|
+
private searchReady;
|
|
215
|
+
private readonly compareNames;
|
|
216
|
+
private segmenter?;
|
|
217
|
+
constructor(data: EmojiCatalogData);
|
|
218
|
+
/** Build once on first search; shared normalized strings avoid repeated annotation copies. */
|
|
219
|
+
private ensureSearch;
|
|
220
|
+
private encoding;
|
|
221
|
+
/** Evidence for the full server inventory; scope() identifies this downloaded subset. */
|
|
222
|
+
metadata(): EmojiMetadata;
|
|
223
|
+
/** Filters, local record count and whether this download contains the full server inventory. */
|
|
224
|
+
scope(): EmojiCatalogScope;
|
|
225
|
+
lookup(input: string, options?: EmojiCatalogLookupOptions): Emoji;
|
|
226
|
+
search(query: string, options?: EmojiCatalogSearchOptions): EmojiSearch;
|
|
227
|
+
browse(options?: EmojiCatalogSearchOptions): EmojiBrowse;
|
|
228
|
+
/** Unknown and ambiguous inputs remain literal; positions refer to untouched input. */
|
|
229
|
+
convert(text: string, options: EmojiCatalogConvertOptions): EmojiConversion;
|
|
230
|
+
/** Whole-grapheme predicate. Use parse() to extract emoji from prose with positions. */
|
|
231
|
+
regex(options?: EmojiCatalogRegexOptions): RegExp;
|
|
232
|
+
categories(): EmojiCategories;
|
|
233
|
+
parse(text: string, options?: EmojiCatalogParseOptions): EmojiParse;
|
|
234
|
+
private project;
|
|
235
|
+
private page;
|
|
236
|
+
private filtered;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export { type Emoji, type EmojiBrowse, EmojiCatalog, type EmojiCatalogConvertOptions, type EmojiCatalogData, EmojiCatalogError, type EmojiCatalogLookupOptions, type EmojiCatalogParseOptions, type EmojiCatalogRegexOptions, type EmojiCatalogScope, type EmojiCatalogSearchOptions, type EmojiConversion, type EmojiDeep, type EmojiMetadata, type EmojiParse, type EmojiSearch };
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Response types for the ParseAPI public API.
|
|
3
|
+
* Core answers the common task; optional deep reveals the reviewed detail.
|
|
4
|
+
* Every field inside a deep object is optional and nullable: the API ships
|
|
5
|
+
* `deep: {}` when deep was requested but is not unlocked on the plan.
|
|
6
|
+
*/
|
|
7
|
+
/** The `deep` key is omitted unless the request asked for it. */
|
|
8
|
+
type Deep<T> = Partial<{
|
|
9
|
+
[K in keyof T]: T[K] | null;
|
|
10
|
+
}>;
|
|
11
|
+
interface EmojiSkin {
|
|
12
|
+
emoji: string;
|
|
13
|
+
tone: string;
|
|
14
|
+
unicode: string | null;
|
|
15
|
+
hex: string | null;
|
|
16
|
+
}
|
|
17
|
+
interface Emoji {
|
|
18
|
+
emoji: string;
|
|
19
|
+
name: string;
|
|
20
|
+
shortcodes: string[];
|
|
21
|
+
category: string | null;
|
|
22
|
+
deep?: Deep<EmojiDeep>;
|
|
23
|
+
}
|
|
24
|
+
interface EmojiSearch {
|
|
25
|
+
q: string;
|
|
26
|
+
emojis: Emoji[];
|
|
27
|
+
total?: number;
|
|
28
|
+
next_offset?: number | null;
|
|
29
|
+
}
|
|
30
|
+
interface EmojiBrowse {
|
|
31
|
+
emojis: Emoji[];
|
|
32
|
+
total: number;
|
|
33
|
+
next_offset: number | null;
|
|
34
|
+
}
|
|
35
|
+
interface EmojiVariant {
|
|
36
|
+
emoji: string;
|
|
37
|
+
tones: string[];
|
|
38
|
+
}
|
|
39
|
+
interface EmojiArtwork {
|
|
40
|
+
svg?: string;
|
|
41
|
+
png?: Record<string, string>;
|
|
42
|
+
/** Only present when this asset has different rights from its provider. */
|
|
43
|
+
license?: string;
|
|
44
|
+
license_url?: string;
|
|
45
|
+
attribution?: string;
|
|
46
|
+
}
|
|
47
|
+
interface EmojiSource {
|
|
48
|
+
id: string;
|
|
49
|
+
version: string | null;
|
|
50
|
+
source_url: string;
|
|
51
|
+
license: string;
|
|
52
|
+
license_url: string;
|
|
53
|
+
}
|
|
54
|
+
interface EmojiNotice {
|
|
55
|
+
id: string;
|
|
56
|
+
license: string;
|
|
57
|
+
notice: string;
|
|
58
|
+
}
|
|
59
|
+
interface EmojiArtworkSource {
|
|
60
|
+
style: string;
|
|
61
|
+
version: string | null;
|
|
62
|
+
unicode_version: string | null;
|
|
63
|
+
source_url: string;
|
|
64
|
+
license: string;
|
|
65
|
+
license_url: string;
|
|
66
|
+
attribution: string;
|
|
67
|
+
notices: string[];
|
|
68
|
+
loaded_coverage?: {
|
|
69
|
+
svg: number;
|
|
70
|
+
png: number;
|
|
71
|
+
};
|
|
72
|
+
flag_license?: {
|
|
73
|
+
license: string;
|
|
74
|
+
license_url: string;
|
|
75
|
+
description: string;
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
interface EmojiMetadata {
|
|
79
|
+
edition: string;
|
|
80
|
+
max_version: string | null;
|
|
81
|
+
source_version: string;
|
|
82
|
+
total: number;
|
|
83
|
+
sources: EmojiSource[];
|
|
84
|
+
artwork_sources: EmojiArtworkSource[];
|
|
85
|
+
notices: EmojiNotice[];
|
|
86
|
+
completeness: {
|
|
87
|
+
missing_count: number;
|
|
88
|
+
unexpected_count: number;
|
|
89
|
+
};
|
|
90
|
+
shortcode_sources?: Record<string, EmojiShortcodeSourceMetadata>;
|
|
91
|
+
[field: string]: unknown;
|
|
92
|
+
}
|
|
93
|
+
interface EmojiCatalogScope {
|
|
94
|
+
filters: Record<string, string>;
|
|
95
|
+
total: number;
|
|
96
|
+
complete_inventory: boolean;
|
|
97
|
+
}
|
|
98
|
+
interface EmojiNativeSearchFacts {
|
|
99
|
+
name: string | null;
|
|
100
|
+
keywords: string[];
|
|
101
|
+
order?: number | null;
|
|
102
|
+
}
|
|
103
|
+
interface EmojiCatalogSearchFacts {
|
|
104
|
+
native: Record<string, EmojiNativeSearchFacts>;
|
|
105
|
+
localized_keywords?: string[];
|
|
106
|
+
}
|
|
107
|
+
interface EmojiCatalogData {
|
|
108
|
+
profile?: 'full' | 'compact';
|
|
109
|
+
scope?: Omit<EmojiCatalogScope, 'total'>;
|
|
110
|
+
search?: EmojiCatalogSearchFacts;
|
|
111
|
+
localization?: EmojiCatalogLocalization;
|
|
112
|
+
metadata: EmojiMetadata;
|
|
113
|
+
total: number;
|
|
114
|
+
emojis: Emoji[];
|
|
115
|
+
forms: Record<string, string>;
|
|
116
|
+
shortcodes: Record<'cldr' | 'github' | 'slack' | 'discord', Record<string, string[]>>;
|
|
117
|
+
legacy: Record<string, string>;
|
|
118
|
+
}
|
|
119
|
+
interface EmojiCatalogLocalization {
|
|
120
|
+
requested_locale: string | null;
|
|
121
|
+
resolved_locale: string | null;
|
|
122
|
+
translated_names: number;
|
|
123
|
+
translated_keywords: number;
|
|
124
|
+
fallback_names: number;
|
|
125
|
+
fallback_keywords: number;
|
|
126
|
+
}
|
|
127
|
+
interface EmojiShortcodeSourceMetadata {
|
|
128
|
+
records: number;
|
|
129
|
+
missing_records: number;
|
|
130
|
+
ambiguous_aliases: number;
|
|
131
|
+
}
|
|
132
|
+
interface EmojiCategory {
|
|
133
|
+
category: string;
|
|
134
|
+
subcategories: string[];
|
|
135
|
+
}
|
|
136
|
+
interface EmojiCategories {
|
|
137
|
+
categories: EmojiCategory[];
|
|
138
|
+
}
|
|
139
|
+
/** UTF-16 code-unit positions. End is exclusive. */
|
|
140
|
+
interface EmojiPosition {
|
|
141
|
+
start: number;
|
|
142
|
+
end: number;
|
|
143
|
+
}
|
|
144
|
+
/** Original input UTF-16 positions; end is exclusive. */
|
|
145
|
+
interface EmojiUnresolved extends EmojiPosition {
|
|
146
|
+
emoji?: string;
|
|
147
|
+
shortcode?: string;
|
|
148
|
+
reason: 'unknown' | 'ambiguous' | 'unavailable';
|
|
149
|
+
}
|
|
150
|
+
interface EmojiDeep {
|
|
151
|
+
subcategory?: string | null;
|
|
152
|
+
base?: string | null;
|
|
153
|
+
variants?: EmojiVariant[];
|
|
154
|
+
codepoints: string[];
|
|
155
|
+
hex: string;
|
|
156
|
+
status: string | null;
|
|
157
|
+
version: string | null;
|
|
158
|
+
keywords: string[];
|
|
159
|
+
skins: EmojiSkin[];
|
|
160
|
+
artwork?: Record<string, EmojiArtwork>;
|
|
161
|
+
}
|
|
162
|
+
interface EmojiParse {
|
|
163
|
+
emojis: (Emoji & {
|
|
164
|
+
positions: EmojiPosition[];
|
|
165
|
+
})[];
|
|
166
|
+
}
|
|
167
|
+
interface EmojiConversion {
|
|
168
|
+
text: string;
|
|
169
|
+
unresolved: EmojiUnresolved[];
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
interface EmojiCatalogLookupOptions {
|
|
173
|
+
deep?: boolean;
|
|
174
|
+
shortcodeSource?: string;
|
|
175
|
+
}
|
|
176
|
+
interface EmojiCatalogSearchOptions {
|
|
177
|
+
deep?: boolean;
|
|
178
|
+
limit?: number;
|
|
179
|
+
offset?: number;
|
|
180
|
+
category?: string;
|
|
181
|
+
subcategory?: string;
|
|
182
|
+
version?: string;
|
|
183
|
+
maxVersion?: string;
|
|
184
|
+
includeSkinTones?: boolean;
|
|
185
|
+
}
|
|
186
|
+
interface EmojiCatalogParseOptions {
|
|
187
|
+
deep?: boolean;
|
|
188
|
+
}
|
|
189
|
+
interface EmojiCatalogConvertOptions {
|
|
190
|
+
direction: 'to_shortcodes' | 'to_emoji';
|
|
191
|
+
shortcodeSource: 'cldr' | 'github' | 'slack' | 'discord';
|
|
192
|
+
}
|
|
193
|
+
interface EmojiCatalogRegexOptions {
|
|
194
|
+
qualifiedOnly?: boolean;
|
|
195
|
+
components?: boolean;
|
|
196
|
+
}
|
|
197
|
+
/** A local validation or resolution failure. No HTTP request was made. */
|
|
198
|
+
declare class EmojiCatalogError extends Error {
|
|
199
|
+
readonly code: 'validation_error' | 'not_found' | 'invalid_catalog';
|
|
200
|
+
constructor(code: 'validation_error' | 'not_found' | 'invalid_catalog', message: string);
|
|
201
|
+
}
|
|
202
|
+
/** Immutable local snapshot. All operations are synchronous and use no network. */
|
|
203
|
+
declare class EmojiCatalog {
|
|
204
|
+
private readonly data;
|
|
205
|
+
private readonly byGlyph;
|
|
206
|
+
private readonly names;
|
|
207
|
+
private readonly aliases;
|
|
208
|
+
private readonly sourceAliases;
|
|
209
|
+
private readonly encodings;
|
|
210
|
+
private readonly searchFacts;
|
|
211
|
+
private readonly categoryKeys;
|
|
212
|
+
private readonly subcategoryKeys;
|
|
213
|
+
private readonly filterCache;
|
|
214
|
+
private searchReady;
|
|
215
|
+
private readonly compareNames;
|
|
216
|
+
private segmenter?;
|
|
217
|
+
constructor(data: EmojiCatalogData);
|
|
218
|
+
/** Build once on first search; shared normalized strings avoid repeated annotation copies. */
|
|
219
|
+
private ensureSearch;
|
|
220
|
+
private encoding;
|
|
221
|
+
/** Evidence for the full server inventory; scope() identifies this downloaded subset. */
|
|
222
|
+
metadata(): EmojiMetadata;
|
|
223
|
+
/** Filters, local record count and whether this download contains the full server inventory. */
|
|
224
|
+
scope(): EmojiCatalogScope;
|
|
225
|
+
lookup(input: string, options?: EmojiCatalogLookupOptions): Emoji;
|
|
226
|
+
search(query: string, options?: EmojiCatalogSearchOptions): EmojiSearch;
|
|
227
|
+
browse(options?: EmojiCatalogSearchOptions): EmojiBrowse;
|
|
228
|
+
/** Unknown and ambiguous inputs remain literal; positions refer to untouched input. */
|
|
229
|
+
convert(text: string, options: EmojiCatalogConvertOptions): EmojiConversion;
|
|
230
|
+
/** Whole-grapheme predicate. Use parse() to extract emoji from prose with positions. */
|
|
231
|
+
regex(options?: EmojiCatalogRegexOptions): RegExp;
|
|
232
|
+
categories(): EmojiCategories;
|
|
233
|
+
parse(text: string, options?: EmojiCatalogParseOptions): EmojiParse;
|
|
234
|
+
private project;
|
|
235
|
+
private page;
|
|
236
|
+
private filtered;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export { type Emoji, type EmojiBrowse, EmojiCatalog, type EmojiCatalogConvertOptions, type EmojiCatalogData, EmojiCatalogError, type EmojiCatalogLookupOptions, type EmojiCatalogParseOptions, type EmojiCatalogRegexOptions, type EmojiCatalogScope, type EmojiCatalogSearchOptions, type EmojiConversion, type EmojiDeep, type EmojiMetadata, type EmojiParse, type EmojiSearch };
|