@automattic/social-previews 3.2.5 → 3.3.0

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/index.d.mts CHANGED
@@ -1,16 +1,15 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
1
+ //#region src/helpers.d.ts
3
2
  /**
4
3
  * An editor hyperlink: the visible anchor text and the URL it points to.
5
4
  */
6
5
  type Hyperlink = {
7
- text: string;
8
- href: string;
9
- /**
10
- * Zero-based index of this anchor among identical occurrences of `text` in
11
- * the content, so repeated texts link the right duplicate. Defaults to 0.
12
- */
13
- occurrence?: number;
6
+ text: string;
7
+ href: string;
8
+ /**
9
+ * Zero-based index of this anchor among identical occurrences of `text` in
10
+ * the content, so repeated texts link the right duplicate. Defaults to 0.
11
+ */
12
+ occurrence?: number;
14
13
  };
15
14
  /**
16
15
  * Extracts `(text, href)` pairs from `<a href="…">text</a>` in HTML, skipping
@@ -22,117 +21,140 @@ type Hyperlink = {
22
21
  * @return The editor hyperlinks found, in document order.
23
22
  */
24
23
  declare function parseHyperlinks(html: string): Hyperlink[];
25
-
24
+ //#endregion
25
+ //#region src/shared/section-heading/index.d.ts
26
26
  declare const HEADING_LEVELS: readonly [2, 3, 4, 5, 6];
27
27
  type SectionHeadingProps = {
28
- className?: string;
29
- level?: (typeof HEADING_LEVELS)[number];
30
- children?: React.ReactNode;
28
+ className?: string;
29
+ level?: (typeof HEADING_LEVELS)[number];
30
+ children?: React.ReactNode;
31
31
  };
32
-
32
+ //#endregion
33
+ //#region src/types.d.ts
33
34
  interface SocialPreviewBaseProps {
34
- /**
35
- * The URL of the post/page to preview.
36
- */
37
- url: string;
38
- /**
39
- * Editor hyperlinks rendered over the matching body text on the networks
40
- * that support inline links (Bluesky, Tumblr). Other networks ignore this.
41
- */
42
- hyperlinks?: Hyperlink[];
43
- /**
44
- * The title of the post/page to preview.
45
- */
46
- title: string;
47
- /**
48
- * The description of the post/page to preview.
49
- */
50
- description?: string;
51
- /**
52
- * The URL of the image to use in the post/page preview.
53
- */
54
- image?: string;
55
- /**
56
- * The array of media items to use in the preview.
57
- */
58
- media?: Array<MediaItem>;
59
- /**
60
- * The caption.
61
- */
62
- caption?: string;
35
+ /**
36
+ * The URL of the post/page to preview.
37
+ */
38
+ url: string;
39
+ /**
40
+ * Editor hyperlinks rendered over the matching body text on the networks
41
+ * that support inline links (Bluesky, Tumblr). Other networks ignore this.
42
+ */
43
+ hyperlinks?: Hyperlink[];
44
+ /**
45
+ * The title of the post/page to preview.
46
+ */
47
+ title: string;
48
+ /**
49
+ * The description of the post/page to preview.
50
+ */
51
+ description?: string;
52
+ /**
53
+ * The URL of the image to use in the post/page preview.
54
+ */
55
+ image?: string;
56
+ /**
57
+ * The focal point of the link-preview image (`image`/`customImage`), both
58
+ * axes 0-1. When set, the preview crops around this point via
59
+ * `object-position`. Omitted → centered, matching today's behavior.
60
+ */
61
+ imageFocalPoint?: FocalPoint;
62
+ /**
63
+ * The array of media items to use in the preview.
64
+ */
65
+ media?: Array<MediaItem>;
66
+ /**
67
+ * The caption.
68
+ */
69
+ caption?: string;
63
70
  }
64
71
  interface SocialPreviewsBaseProps {
65
- /**
66
- * The heading level to use for the preview section title
67
- */
68
- headingLevel?: SectionHeadingProps['level'];
69
- /**
70
- * Whether to hide the "Your post" section
71
- */
72
- hidePostPreview?: boolean;
73
- /**
74
- * Whether to hide the "Link preview" section
75
- */
76
- hideLinkPreview?: boolean;
72
+ /**
73
+ * The heading level to use for the preview section title
74
+ */
75
+ headingLevel?: SectionHeadingProps['level'];
76
+ /**
77
+ * Whether to hide the "Your post" section
78
+ */
79
+ hidePostPreview?: boolean;
80
+ /**
81
+ * Whether to hide the "Link preview" section
82
+ */
83
+ hideLinkPreview?: boolean;
77
84
  }
85
+ /**
86
+ * A focal point on an image. Both axes are 0-1, where `{ x: 0, y: 0 }` is the
87
+ * top-left corner and `{ x: 1, y: 1 }` is the bottom-right.
88
+ */
89
+ type FocalPoint = {
90
+ x: number;
91
+ y: number;
92
+ };
78
93
  type MediaItem = {
79
- /**
80
- * The alt text for the image.
81
- */
82
- alt?: string;
83
- /**
84
- * The mime type of the media
85
- */
86
- type: string;
87
- /**
88
- * The URL of the media.
89
- */
90
- url: string;
94
+ /**
95
+ * The alt text for the image.
96
+ */
97
+ alt?: string;
98
+ /**
99
+ * The mime type of the media
100
+ */
101
+ type: string;
102
+ /**
103
+ * The URL of the media.
104
+ */
105
+ url: string;
91
106
  };
92
-
107
+ //#endregion
108
+ //#region src/google-search-preview/index.d.ts
93
109
  type GoogleSearchPreviewProps = Omit<SocialPreviewBaseProps, 'image'> & {
94
- siteIcon?: string;
95
- siteTitle?: string;
110
+ siteIcon?: string;
111
+ siteTitle?: string;
96
112
  };
97
113
  declare const GoogleSearchPreview: React.FC<Partial<GoogleSearchPreviewProps>>;
98
-
114
+ //#endregion
115
+ //#region src/twitter-preview/types.d.ts
99
116
  type TwitterPreviewsProps = SocialPreviewsBaseProps & {
100
- tweets: Array<TwitterPreviewProps>;
117
+ tweets: Array<TwitterPreviewProps>;
101
118
  };
102
119
  type TwitterCardProps = SocialPreviewBaseProps & {
103
- cardType: string;
120
+ cardType: string;
104
121
  };
105
122
  type SidebarProps$1 = {
106
- showThreadConnector?: boolean;
107
- profileImage?: string;
123
+ showThreadConnector?: boolean;
124
+ profileImage?: string;
108
125
  };
109
126
  type HeaderProps$1 = {
110
- name?: string;
111
- date?: Date | number;
112
- screenName?: string;
127
+ name?: string;
128
+ date?: Date | number;
129
+ screenName?: string;
113
130
  };
114
131
  type QuoteTweetProps = {
115
- tweetUrl: string;
132
+ tweetUrl: string;
116
133
  };
117
134
  type TextProps = {
118
- text: string;
135
+ text: string;
119
136
  };
120
137
  type TwitterPreviewProps = SidebarProps$1 & HeaderProps$1 & Partial<QuoteTweetProps & TwitterCardProps & Pick<TextProps, 'text'>>;
121
-
138
+ //#endregion
139
+ //#region src/twitter-preview/link-preview.d.ts
122
140
  declare const TwitterLinkPreview: React.FC<TwitterPreviewProps>;
123
-
141
+ //#endregion
142
+ //#region src/twitter-preview/post-preview.d.ts
124
143
  declare const TwitterPostPreview: React.FC<TwitterPreviewProps>;
125
-
144
+ //#endregion
145
+ //#region src/twitter-preview/previews.d.ts
126
146
  declare const TwitterPreviews: React.FC<TwitterPreviewsProps>;
127
-
147
+ //#endregion
148
+ //#region src/linkedin-preview/types.d.ts
128
149
  type LinkedInPreviewProps = SocialPreviewBaseProps & {
129
- jobTitle?: string;
130
- name: string;
131
- profileImage: string;
132
- articleReadTime?: number;
150
+ jobTitle?: string;
151
+ name: string;
152
+ profileImage: string;
153
+ articleReadTime?: number;
133
154
  };
134
155
  type LinkedInPreviewsProps = LinkedInPreviewProps & SocialPreviewsBaseProps;
135
-
156
+ //#endregion
157
+ //#region src/linkedin-preview/link-preview.d.ts
136
158
  type OptionalProps$1 = Partial<Pick<LinkedInPreviewProps, 'name' | 'profileImage'>>;
137
159
  type LinkedInLinkPreviewProps = Omit<LinkedInPreviewProps, keyof OptionalProps$1> & OptionalProps$1;
138
160
  /**
@@ -140,8 +162,9 @@ type LinkedInLinkPreviewProps = Omit<LinkedInPreviewProps, keyof OptionalProps$1
140
162
  * @param {LinkedInLinkPreviewProps} props - The props for the LinkedIn link preview.
141
163
  * @return The LinkedIn link preview component.
142
164
  */
143
- declare function LinkedInLinkPreview(props: LinkedInLinkPreviewProps): react_jsx_runtime.JSX.Element;
144
-
165
+ declare function LinkedInLinkPreview(props: LinkedInLinkPreviewProps): import("react/jsx-runtime").JSX.Element;
166
+ //#endregion
167
+ //#region src/linkedin-preview/post-preview.d.ts
145
168
  /**
146
169
  * LinkedIn Post Preview Component
147
170
  *
@@ -149,25 +172,42 @@ declare function LinkedInLinkPreview(props: LinkedInLinkPreviewProps): react_jsx
149
172
  *
150
173
  * @return The LinkedIn post preview component.
151
174
  */
152
- declare function LinkedInPostPreview({ articleReadTime, image, jobTitle, name, profileImage, description, media, title, url, }: LinkedInPreviewProps): react_jsx_runtime.JSX.Element;
153
-
175
+ declare function LinkedInPostPreview({
176
+ articleReadTime,
177
+ image,
178
+ imageFocalPoint,
179
+ jobTitle,
180
+ name,
181
+ profileImage,
182
+ description,
183
+ media,
184
+ title,
185
+ url
186
+ }: LinkedInPreviewProps): import("react/jsx-runtime").JSX.Element;
187
+ //#endregion
188
+ //#region src/linkedin-preview/previews.d.ts
154
189
  declare const LinkedInPreviews: React.FC<LinkedInPreviewsProps>;
155
-
190
+ //#endregion
191
+ //#region src/tumblr-preview/types.d.ts
156
192
  type TumblrUser = {
157
- displayName: string;
158
- avatarUrl?: string;
193
+ displayName: string;
194
+ avatarUrl?: string;
159
195
  };
160
196
  type TumblrPreviewProps = SocialPreviewBaseProps & {
161
- user?: TumblrUser;
197
+ user?: TumblrUser;
162
198
  };
163
-
199
+ //#endregion
200
+ //#region src/tumblr-preview/link-preview.d.ts
164
201
  declare const TumblrLinkPreview: React.FC<TumblrPreviewProps>;
165
-
202
+ //#endregion
203
+ //#region src/tumblr-preview/post-preview.d.ts
166
204
  declare const TumblrPostPreview: React.FC<TumblrPreviewProps>;
167
-
205
+ //#endregion
206
+ //#region src/tumblr-preview/previews.d.ts
168
207
  type TumblrPreviewsProps = TumblrPreviewProps & SocialPreviewsBaseProps;
169
208
  declare const TumblrPreviews: React.FC<TumblrPreviewsProps>;
170
-
209
+ //#endregion
210
+ //#region src/constants.d.ts
171
211
  declare const AUTO_SHARED_SOCIAL_POST_PREVIEW = "AUTO_SHARED_SOCIAL_POST_PREVIEW";
172
212
  declare const AUTO_SHARED_LINK_PREVIEW = "AUTO_SHARED_LINK_PREVIEW";
173
213
  declare const DEFAULT_LINK_PREVIEW = "DEFAULT_LINK_PREVIEW";
@@ -175,56 +215,66 @@ declare const TYPE_WEBSITE = "website";
175
215
  declare const TYPE_ARTICLE = "article";
176
216
  declare const LANDSCAPE_MODE = "landscape";
177
217
  declare const PORTRAIT_MODE = "portrait";
178
-
218
+ //#endregion
219
+ //#region src/facebook-preview/types.d.ts
179
220
  type ImageMode = typeof LANDSCAPE_MODE | typeof PORTRAIT_MODE;
180
221
  type FacebookUser = {
181
- displayName: string;
182
- avatarUrl?: string;
222
+ displayName: string;
223
+ avatarUrl?: string;
183
224
  };
184
225
  type FacebookPreviewProps = SocialPreviewBaseProps & {
185
- user?: FacebookUser;
186
- type?: typeof TYPE_WEBSITE | typeof TYPE_ARTICLE;
187
- customText?: string;
188
- customImage?: string;
189
- imageMode?: ImageMode;
226
+ user?: FacebookUser;
227
+ type?: typeof TYPE_WEBSITE | typeof TYPE_ARTICLE;
228
+ customText?: string;
229
+ customImage?: string;
230
+ imageMode?: ImageMode;
190
231
  };
191
-
232
+ //#endregion
233
+ //#region src/facebook-preview/previews.d.ts
192
234
  type FacebookPreviewsProps = FacebookPreviewProps & SocialPreviewsBaseProps;
193
235
  declare const FacebookPreviews: React.FC<FacebookPreviewsProps>;
194
-
236
+ //#endregion
237
+ //#region src/facebook-preview/link-preview.d.ts
195
238
  type FacebookLinkPreviewProps = FacebookPreviewProps & {
196
- compactDescription?: boolean;
239
+ compactDescription?: boolean;
197
240
  };
198
241
  declare const FacebookLinkPreview: React.FC<FacebookLinkPreviewProps>;
199
-
242
+ //#endregion
243
+ //#region src/facebook-preview/post-preview.d.ts
200
244
  declare const FacebookPostPreview: React.FC<FacebookPreviewProps>;
201
-
245
+ //#endregion
246
+ //#region src/mastodon-preview/types.d.ts
202
247
  type MastodonUser = {
203
- displayName: string;
204
- avatarUrl: string;
205
- address: string;
248
+ displayName: string;
249
+ avatarUrl: string;
250
+ address: string;
206
251
  };
207
252
  type MastodonPreviewProps = SocialPreviewBaseProps & {
208
- user?: MastodonUser;
209
- customText?: string;
210
- customImage?: string;
211
- siteName?: string;
253
+ user?: MastodonUser;
254
+ customText?: string;
255
+ customImage?: string;
256
+ siteName?: string;
212
257
  };
213
-
258
+ //#endregion
259
+ //#region src/mastodon-preview/link-preview.d.ts
214
260
  declare const MastodonLinkPreview: React.FC<MastodonPreviewProps>;
215
-
261
+ //#endregion
262
+ //#region src/mastodon-preview/post-preview.d.ts
216
263
  declare const MastodonPostPreview: React.FC<MastodonPreviewProps>;
217
-
264
+ //#endregion
265
+ //#region src/mastodon-preview/previews.d.ts
218
266
  type MastodonPreviewsProps = MastodonPreviewProps & SocialPreviewsBaseProps;
219
267
  declare const MastodonPreviews: React.FC<MastodonPreviewsProps>;
220
-
268
+ //#endregion
269
+ //#region src/nextdoor-preview/types.d.ts
221
270
  type NextdoorPreviewProps = SocialPreviewBaseProps & {
222
- neighborhood?: string;
223
- name: string;
224
- profileImage: string;
271
+ neighborhood?: string;
272
+ name: string;
273
+ profileImage: string;
225
274
  };
226
275
  type NextdoorPreviewsProps = NextdoorPreviewProps & SocialPreviewsBaseProps;
227
-
276
+ //#endregion
277
+ //#region src/nextdoor-preview/link-preview.d.ts
228
278
  type OptionalProps = Partial<Pick<NextdoorPreviewProps, 'name' | 'profileImage'>>;
229
279
  type NextdoorLinkPreviewProps = Omit<NextdoorPreviewProps, keyof OptionalProps> & OptionalProps;
230
280
  /**
@@ -234,64 +284,86 @@ type NextdoorLinkPreviewProps = Omit<NextdoorPreviewProps, keyof OptionalProps>
234
284
  *
235
285
  * @return The Nextdoor link preview component.
236
286
  */
237
- declare function NextdoorLinkPreview(props: NextdoorLinkPreviewProps): react_jsx_runtime.JSX.Element;
238
-
287
+ declare function NextdoorLinkPreview(props: NextdoorLinkPreviewProps): import("react/jsx-runtime").JSX.Element;
288
+ //#endregion
289
+ //#region src/nextdoor-preview/post-preview.d.ts
239
290
  /**
240
291
  * Nextdoor Post Preview Component.
241
292
  *
242
293
  * @param {NextdoorPreviewProps} props - The preview properties.
243
294
  * @return The Nextdoor post preview component.
244
295
  */
245
- declare function NextdoorPostPreview({ image, name, profileImage, description, neighborhood, media, title, url, }: NextdoorPreviewProps): react_jsx_runtime.JSX.Element;
246
-
296
+ declare function NextdoorPostPreview({
297
+ image,
298
+ imageFocalPoint,
299
+ name,
300
+ profileImage,
301
+ description,
302
+ neighborhood,
303
+ media,
304
+ title,
305
+ url
306
+ }: NextdoorPreviewProps): import("react/jsx-runtime").JSX.Element;
307
+ //#endregion
308
+ //#region src/nextdoor-preview/previews.d.ts
247
309
  declare const NextdoorPreviews: React.FC<NextdoorPreviewsProps>;
248
-
310
+ //#endregion
311
+ //#region src/bluesky-preview/types.d.ts
249
312
  type BlueskyUser = {
250
- displayName: string;
251
- avatarUrl: string;
252
- address: string;
313
+ displayName: string;
314
+ avatarUrl: string;
315
+ address: string;
253
316
  };
254
317
  type BlueskyPreviewProps = SocialPreviewBaseProps & {
255
- appendUrl?: boolean;
256
- user?: BlueskyUser;
257
- customText?: string;
258
- customImage?: string;
318
+ appendUrl?: boolean;
319
+ user?: BlueskyUser;
320
+ customText?: string;
321
+ customImage?: string;
259
322
  };
260
-
323
+ //#endregion
324
+ //#region src/bluesky-preview/link-preview.d.ts
261
325
  declare const BlueskyLinkPreview: React.FC<BlueskyPreviewProps>;
262
-
326
+ //#endregion
327
+ //#region src/bluesky-preview/post-preview.d.ts
263
328
  declare const BlueskyPostPreview: React.FC<BlueskyPreviewProps>;
264
-
329
+ //#endregion
330
+ //#region src/bluesky-preview/previews.d.ts
265
331
  type BlueskyPreviewsProps = BlueskyPreviewProps & SocialPreviewsBaseProps;
266
332
  declare const BlueskyPreviews: React.FC<BlueskyPreviewsProps>;
267
-
333
+ //#endregion
334
+ //#region src/threads-preview/types.d.ts
268
335
  type ThreadsPreviewsProps = SocialPreviewsBaseProps & {
269
- posts: Array<ThreadsPreviewProps>;
336
+ posts: Array<ThreadsPreviewProps>;
270
337
  };
271
338
  type ThreadsCardProps = Omit<SocialPreviewBaseProps, 'description'>;
272
339
  type SidebarProps = {
273
- showThreadConnector?: boolean;
274
- profileImage?: string;
340
+ showThreadConnector?: boolean;
341
+ profileImage?: string;
275
342
  };
276
343
  type HeaderProps = {
277
- name?: string;
278
- date?: Date;
344
+ name?: string;
345
+ date?: Date;
279
346
  };
280
347
  type ThreadsPreviewProps = SidebarProps & HeaderProps & Partial<ThreadsCardProps>;
281
-
348
+ //#endregion
349
+ //#region src/threads-preview/link-preview.d.ts
282
350
  declare const ThreadsLinkPreview: React.FC<ThreadsPreviewProps>;
283
-
351
+ //#endregion
352
+ //#region src/threads-preview/post-preview.d.ts
284
353
  declare const ThreadsPostPreview: React.FC<ThreadsPreviewProps>;
285
-
354
+ //#endregion
355
+ //#region src/threads-preview/previews.d.ts
286
356
  declare const ThreadsPreviews: React.FC<ThreadsPreviewsProps>;
287
-
288
- type InstagramPreviewProps = Pick<SocialPreviewBaseProps, 'image' | 'media' | 'url'> & {
289
- name: string;
290
- profileImage: string;
291
- caption?: string;
357
+ //#endregion
358
+ //#region src/instagram-preview/types.d.ts
359
+ type InstagramPreviewProps = Pick<SocialPreviewBaseProps, 'image' | 'imageFocalPoint' | 'media' | 'url'> & {
360
+ name: string;
361
+ profileImage: string;
362
+ caption?: string;
292
363
  };
293
364
  type InstagramPreviewsProps = InstagramPreviewProps & SocialPreviewsBaseProps;
294
-
365
+ //#endregion
366
+ //#region src/instagram-preview/post-preview.d.ts
295
367
  /**
296
368
  * Instagram Post Preview Component
297
369
  *
@@ -299,8 +371,17 @@ type InstagramPreviewsProps = InstagramPreviewProps & SocialPreviewsBaseProps;
299
371
  *
300
372
  * @return The Instagram post preview component.
301
373
  */
302
- declare function InstagramPostPreview({ image, media, name, profileImage, caption, url, }: InstagramPreviewProps): react_jsx_runtime.JSX.Element;
303
-
374
+ declare function InstagramPostPreview({
375
+ image,
376
+ imageFocalPoint,
377
+ media,
378
+ name,
379
+ profileImage,
380
+ caption
381
+ }: InstagramPreviewProps): import("react/jsx-runtime").JSX.Element;
382
+ //#endregion
383
+ //#region src/instagram-preview/previews.d.ts
304
384
  declare const InstagramPreviews: React.FC<InstagramPreviewsProps>;
305
-
306
- export { AUTO_SHARED_LINK_PREVIEW, AUTO_SHARED_SOCIAL_POST_PREVIEW, BlueskyLinkPreview, BlueskyPostPreview, BlueskyPreviews, type BlueskyPreviewsProps, DEFAULT_LINK_PREVIEW, FacebookLinkPreview, type FacebookLinkPreviewProps, FacebookPostPreview, FacebookPreviews, type FacebookPreviewsProps, GoogleSearchPreview, type GoogleSearchPreviewProps, type Hyperlink, InstagramPostPreview, InstagramPreviews, LANDSCAPE_MODE, LinkedInLinkPreview, type LinkedInLinkPreviewProps, LinkedInPostPreview, LinkedInPreviews, MastodonLinkPreview, MastodonPostPreview, MastodonPreviews, type MastodonPreviewsProps, type MediaItem, NextdoorLinkPreview, type NextdoorLinkPreviewProps, NextdoorPostPreview, NextdoorPreviews, PORTRAIT_MODE, type SocialPreviewBaseProps, type SocialPreviewsBaseProps, TYPE_ARTICLE, TYPE_WEBSITE, ThreadsLinkPreview, ThreadsPostPreview, ThreadsPreviews, TumblrLinkPreview, TumblrPostPreview, TumblrPreviews, type TumblrPreviewsProps, TwitterLinkPreview, TwitterPostPreview, TwitterPreviews, parseHyperlinks };
385
+ //#endregion
386
+ export { AUTO_SHARED_LINK_PREVIEW, AUTO_SHARED_SOCIAL_POST_PREVIEW, BlueskyLinkPreview, BlueskyPostPreview, BlueskyPreviews, BlueskyPreviewsProps, DEFAULT_LINK_PREVIEW, FacebookLinkPreview, FacebookLinkPreviewProps, FacebookPostPreview, FacebookPreviews, FacebookPreviewsProps, FocalPoint, GoogleSearchPreview, GoogleSearchPreviewProps, type Hyperlink, InstagramPostPreview, InstagramPreviews, LANDSCAPE_MODE, LinkedInLinkPreview, LinkedInLinkPreviewProps, LinkedInPostPreview, LinkedInPreviews, MastodonLinkPreview, MastodonPostPreview, MastodonPreviews, MastodonPreviewsProps, MediaItem, NextdoorLinkPreview, NextdoorLinkPreviewProps, NextdoorPostPreview, NextdoorPreviews, PORTRAIT_MODE, SocialPreviewBaseProps, SocialPreviewsBaseProps, TYPE_ARTICLE, TYPE_WEBSITE, ThreadsLinkPreview, ThreadsPostPreview, ThreadsPreviews, TumblrLinkPreview, TumblrPostPreview, TumblrPreviews, TumblrPreviewsProps, TwitterLinkPreview, TwitterPostPreview, TwitterPreviews, parseHyperlinks };
387
+ //# sourceMappingURL=index.d.mts.map