@prismicio/editor-fields 0.4.77-alpha.bump-types-internal.2 → 0.4.77-alpha.bump-types-internal.3

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.
Files changed (43) hide show
  1. package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +48 -8
  2. package/dist/core/APIExplorer/components/Request/GetAllByEveryTagRequest.d.ts +1 -0
  3. package/dist/core/APIExplorer/components/Request/GetAllByIDsRequest.d.ts +1 -0
  4. package/dist/core/APIExplorer/components/Request/GetAllBySomeTagsRequest.d.ts +1 -0
  5. package/dist/core/APIExplorer/components/Request/GetAllByTagRequest.d.ts +1 -0
  6. package/dist/core/APIExplorer/components/Request/GetAllByTypeRequest.d.ts +1 -0
  7. package/dist/core/APIExplorer/components/Request/GetAllByUIDsRequest.d.ts +1 -0
  8. package/dist/core/APIExplorer/components/Request/GetByEveryTagRequest.d.ts +1 -0
  9. package/dist/core/APIExplorer/components/Request/GetByIDRequest.d.ts +1 -0
  10. package/dist/core/APIExplorer/components/Request/GetByIDsRequest.d.ts +1 -0
  11. package/dist/core/APIExplorer/components/Request/GetBySomeTagsRequest.d.ts +1 -0
  12. package/dist/core/APIExplorer/components/Request/GetByTagRequest.d.ts +1 -0
  13. package/dist/core/APIExplorer/components/Request/GetByUIDsRequest.d.ts +1 -0
  14. package/dist/core/APIExplorer/components/Request/GetFirstRequest.d.ts +1 -0
  15. package/dist/core/APIExplorer/components/Request/GetTagsRequest.d.ts +1 -0
  16. package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/formatFilterSnippet.d.ts +2 -0
  17. package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/index.d.ts +1 -1
  18. package/dist/core/APIExplorer/components/Request/components/RequestFormInput.d.ts +2 -1
  19. package/dist/core/APIExplorer/components/Request/components/RequestFormMultiInput.d.ts +7 -0
  20. package/dist/core/APIExplorer/components/Request/components/RequestTagFieldset.d.ts +5 -0
  21. package/dist/core/APIExplorer/components/Request/components/RequestTagsFieldset.d.ts +5 -0
  22. package/dist/core/APIExplorer/components/Request/components/index.d.ts +3 -0
  23. package/dist/core/APIExplorer/components/Request/createRequest.d.ts +8 -2
  24. package/dist/core/APIExplorer/components/Request/types.d.ts +17 -3
  25. package/dist/core/APIExplorer/hooks/useRequestRepositoryTags.d.ts +1 -0
  26. package/dist/core/APIExplorer/utils.d.ts +4 -1
  27. package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +36 -36
  28. package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +4 -4
  29. package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +4 -4
  30. package/dist/core/UnsplashLibrary/unsplashData.d.ts +9 -9
  31. package/dist/core/service/document.d.ts +100 -100
  32. package/dist/core/service/documentSearch.d.ts +25 -25
  33. package/dist/core/service/repository.d.ts +18 -18
  34. package/dist/fields/ImageField/useImageField.d.ts +4 -4
  35. package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +4 -4
  36. package/dist/fields/KeyTextField.d.ts +1 -1
  37. package/dist/fields/LinkField/Documents/documentsData.d.ts +9 -9
  38. package/dist/fields/RichTextField/RichTextField.d.ts +2 -0
  39. package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +4 -4
  40. package/dist/fields/RichTextField/extensions/extensions.d.ts +1 -1
  41. package/dist/index.cjs.js +47 -47
  42. package/dist/index.es.js +20405 -19809
  43. package/package.json +4 -4
@@ -21,9 +21,9 @@ interface SearchDocumentsArgs {
21
21
  export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
22
22
  results: {
23
23
  language: {
24
- isMaster?: boolean | undefined;
25
24
  id: string;
26
25
  label: string;
26
+ isMaster: boolean;
27
27
  };
28
28
  title: string;
29
29
  id: string;
@@ -39,13 +39,13 @@ export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
39
39
  } | {
40
40
  status: "archived";
41
41
  }) & {
42
- version_id: string;
43
42
  tags: string[];
43
+ version_id: string;
44
44
  last_modified_date: Date;
45
45
  custom_type_label: string;
46
46
  author: {
47
- email?: string | undefined;
48
47
  id?: string | undefined;
48
+ email?: string | undefined;
49
49
  first_name?: string | undefined;
50
50
  last_name?: string | undefined;
51
51
  uploadedAvatar?: string | undefined;
@@ -72,11 +72,11 @@ export declare function searchDocuments(args: SearchDocumentsArgs): Promise<{
72
72
  } | {
73
73
  status: "archived";
74
74
  }) & {
75
- version_id: string;
76
75
  tags: string[];
76
+ version_id: string;
77
77
  last_modified_date: Date;
78
- summary?: string | undefined;
79
78
  uid?: string | undefined;
79
+ summary?: string | undefined;
80
80
  preview_image?: string | undefined;
81
81
  custom_type_id?: string | undefined;
82
82
  author_ids?: string[] | undefined;
@@ -102,9 +102,9 @@ interface SearchDocumentsQueryOptionsArgs {
102
102
  export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOptionsArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
103
103
  results: {
104
104
  language: {
105
- isMaster?: boolean | undefined;
106
105
  id: string;
107
106
  label: string;
107
+ isMaster: boolean;
108
108
  };
109
109
  title: string;
110
110
  id: string;
@@ -120,13 +120,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
120
120
  } | {
121
121
  status: "archived";
122
122
  }) & {
123
- version_id: string;
124
123
  tags: string[];
124
+ version_id: string;
125
125
  last_modified_date: Date;
126
126
  custom_type_label: string;
127
127
  author: {
128
- email?: string | undefined;
129
128
  id?: string | undefined;
129
+ email?: string | undefined;
130
130
  first_name?: string | undefined;
131
131
  last_name?: string | undefined;
132
132
  uploadedAvatar?: string | undefined;
@@ -153,11 +153,11 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
153
153
  } | {
154
154
  status: "archived";
155
155
  }) & {
156
- version_id: string;
157
156
  tags: string[];
157
+ version_id: string;
158
158
  last_modified_date: Date;
159
- summary?: string | undefined;
160
159
  uid?: string | undefined;
160
+ summary?: string | undefined;
161
161
  preview_image?: string | undefined;
162
162
  custom_type_id?: string | undefined;
163
163
  author_ids?: string[] | undefined;
@@ -169,9 +169,9 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
169
169
  }, Error, {
170
170
  results: {
171
171
  language: {
172
- isMaster?: boolean | undefined;
173
172
  id: string;
174
173
  label: string;
174
+ isMaster: boolean;
175
175
  };
176
176
  title: string;
177
177
  id: string;
@@ -187,13 +187,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
187
187
  } | {
188
188
  status: "archived";
189
189
  }) & {
190
- version_id: string;
191
190
  tags: string[];
191
+ version_id: string;
192
192
  last_modified_date: Date;
193
193
  custom_type_label: string;
194
194
  author: {
195
- email?: string | undefined;
196
195
  id?: string | undefined;
196
+ email?: string | undefined;
197
197
  first_name?: string | undefined;
198
198
  last_name?: string | undefined;
199
199
  uploadedAvatar?: string | undefined;
@@ -220,11 +220,11 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
220
220
  } | {
221
221
  status: "archived";
222
222
  }) & {
223
- version_id: string;
224
223
  tags: string[];
224
+ version_id: string;
225
225
  last_modified_date: Date;
226
- summary?: string | undefined;
227
226
  uid?: string | undefined;
227
+ summary?: string | undefined;
228
228
  preview_image?: string | undefined;
229
229
  custom_type_id?: string | undefined;
230
230
  author_ids?: string[] | undefined;
@@ -252,9 +252,9 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
252
252
  initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
253
253
  results: {
254
254
  language: {
255
- isMaster?: boolean | undefined;
256
255
  id: string;
257
256
  label: string;
257
+ isMaster: boolean;
258
258
  };
259
259
  title: string;
260
260
  id: string;
@@ -270,13 +270,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
270
270
  } | {
271
271
  status: "archived";
272
272
  }) & {
273
- version_id: string;
274
273
  tags: string[];
274
+ version_id: string;
275
275
  last_modified_date: Date;
276
276
  custom_type_label: string;
277
277
  author: {
278
- email?: string | undefined;
279
278
  id?: string | undefined;
279
+ email?: string | undefined;
280
280
  first_name?: string | undefined;
281
281
  last_name?: string | undefined;
282
282
  uploadedAvatar?: string | undefined;
@@ -303,11 +303,11 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
303
303
  } | {
304
304
  status: "archived";
305
305
  }) & {
306
- version_id: string;
307
306
  tags: string[];
307
+ version_id: string;
308
308
  last_modified_date: Date;
309
- summary?: string | undefined;
310
309
  uid?: string | undefined;
310
+ summary?: string | undefined;
311
311
  preview_image?: string | undefined;
312
312
  custom_type_id?: string | undefined;
313
313
  author_ids?: string[] | undefined;
@@ -336,9 +336,9 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
336
336
  }], {
337
337
  results: {
338
338
  language: {
339
- isMaster?: boolean | undefined;
340
339
  id: string;
341
340
  label: string;
341
+ isMaster: boolean;
342
342
  };
343
343
  title: string;
344
344
  id: string;
@@ -354,13 +354,13 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
354
354
  } | {
355
355
  status: "archived";
356
356
  }) & {
357
- version_id: string;
358
357
  tags: string[];
358
+ version_id: string;
359
359
  last_modified_date: Date;
360
360
  custom_type_label: string;
361
361
  author: {
362
- email?: string | undefined;
363
362
  id?: string | undefined;
363
+ email?: string | undefined;
364
364
  first_name?: string | undefined;
365
365
  last_name?: string | undefined;
366
366
  uploadedAvatar?: string | undefined;
@@ -387,11 +387,11 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
387
387
  } | {
388
388
  status: "archived";
389
389
  }) & {
390
- version_id: string;
391
390
  tags: string[];
391
+ version_id: string;
392
392
  last_modified_date: Date;
393
- summary?: string | undefined;
394
393
  uid?: string | undefined;
394
+ summary?: string | undefined;
395
395
  preview_image?: string | undefined;
396
396
  custom_type_id?: string | undefined;
397
397
  author_ids?: string[] | undefined;
@@ -7,14 +7,14 @@ declare const repositoryAuthor: z.ZodObject<{
7
7
  email: z.ZodString;
8
8
  uploadedAvatar: z.ZodOptional<z.ZodString>;
9
9
  }, "strip", z.ZodTypeAny, {
10
- email: string;
11
10
  id: string;
11
+ email: string;
12
12
  uploadedAvatar?: string | undefined;
13
13
  firstname?: string | undefined;
14
14
  lastname?: string | undefined;
15
15
  }, {
16
- email: string;
17
16
  id: string;
17
+ email: string;
18
18
  uploadedAvatar?: string | undefined;
19
19
  firstname?: string | undefined;
20
20
  lastname?: string | undefined;
@@ -35,27 +35,27 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
35
35
  languages: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
36
36
  id: z.ZodString;
37
37
  name: z.ZodString;
38
- is_master: z.ZodOptional<z.ZodBoolean>;
38
+ is_master: z.ZodDefault<z.ZodBoolean>;
39
39
  }, "strip", z.ZodTypeAny, {
40
40
  id: string;
41
41
  name: string;
42
- is_master?: boolean | undefined;
42
+ is_master: boolean;
43
43
  }, {
44
44
  id: string;
45
45
  name: string;
46
46
  is_master?: boolean | undefined;
47
47
  }>, {
48
- isMaster?: boolean | undefined;
49
48
  id: string;
50
49
  label: string;
50
+ isMaster: boolean;
51
51
  }, {
52
52
  id: string;
53
53
  name: string;
54
54
  is_master?: boolean | undefined;
55
55
  }>, "many">, {
56
- isMaster?: boolean | undefined;
57
56
  id: string;
58
57
  label: string;
58
+ isMaster: boolean;
59
59
  }[], {
60
60
  id: string;
61
61
  name: string;
@@ -68,14 +68,14 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
68
68
  email: z.ZodString;
69
69
  uploadedAvatar: z.ZodOptional<z.ZodString>;
70
70
  }, "strip", z.ZodTypeAny, {
71
- email: string;
72
71
  id: string;
72
+ email: string;
73
73
  uploadedAvatar?: string | undefined;
74
74
  firstname?: string | undefined;
75
75
  lastname?: string | undefined;
76
76
  }, {
77
- email: string;
78
77
  id: string;
78
+ email: string;
79
79
  uploadedAvatar?: string | undefined;
80
80
  firstname?: string | undefined;
81
81
  lastname?: string | undefined;
@@ -102,16 +102,16 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
102
102
  uploadedAvatar: z.ZodOptional<z.ZodString>;
103
103
  }, "strip", z.ZodTypeAny, {
104
104
  authors: {
105
- email: string;
106
105
  id: string;
106
+ email: string;
107
107
  uploadedAvatar?: string | undefined;
108
108
  firstname?: string | undefined;
109
109
  lastname?: string | undefined;
110
110
  }[];
111
111
  languages: {
112
- isMaster?: boolean | undefined;
113
112
  id: string;
114
113
  label: string;
114
+ isMaster: boolean;
115
115
  }[];
116
116
  quotas: {
117
117
  slicemachineEnabled: boolean;
@@ -136,8 +136,8 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
136
136
  };
137
137
  uploadedAvatar?: string | undefined;
138
138
  authors?: {
139
- email: string;
140
139
  id: string;
140
+ email: string;
141
141
  uploadedAvatar?: string | undefined;
142
142
  firstname?: string | undefined;
143
143
  lastname?: string | undefined;
@@ -153,16 +153,16 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
153
153
  simulatorUrl: string | undefined;
154
154
  isSupportedFramework: boolean;
155
155
  authors: {
156
- email: string;
157
156
  id: string;
157
+ email: string;
158
158
  uploadedAvatar?: string | undefined;
159
159
  firstname?: string | undefined;
160
160
  lastname?: string | undefined;
161
161
  }[];
162
162
  languages: {
163
- isMaster?: boolean | undefined;
164
163
  id: string;
165
164
  label: string;
165
+ isMaster: boolean;
166
166
  }[];
167
167
  quotas: {
168
168
  slicemachineEnabled: boolean;
@@ -185,8 +185,8 @@ declare const repositorySchema: z.ZodEffects<z.ZodObject<{
185
185
  };
186
186
  uploadedAvatar?: string | undefined;
187
187
  authors?: {
188
- email: string;
189
188
  id: string;
189
+ email: string;
190
190
  uploadedAvatar?: string | undefined;
191
191
  firstname?: string | undefined;
192
192
  lastname?: string | undefined;
@@ -286,14 +286,14 @@ export declare const repositorySchemaV2: z.ZodObject<{
286
286
  email: z.ZodString;
287
287
  uploadedAvatar: z.ZodOptional<z.ZodString>;
288
288
  }, "strip", z.ZodTypeAny, {
289
- email: string;
290
289
  id: string;
290
+ email: string;
291
291
  uploadedAvatar?: string | undefined;
292
292
  firstname?: string | undefined;
293
293
  lastname?: string | undefined;
294
294
  }, {
295
- email: string;
296
295
  id: string;
296
+ email: string;
297
297
  uploadedAvatar?: string | undefined;
298
298
  firstname?: string | undefined;
299
299
  lastname?: string | undefined;
@@ -319,8 +319,8 @@ export declare const repositorySchemaV2: z.ZodObject<{
319
319
  isDismissed: boolean;
320
320
  };
321
321
  users: {
322
- email: string;
323
322
  id: string;
323
+ email: string;
324
324
  uploadedAvatar?: string | undefined;
325
325
  firstname?: string | undefined;
326
326
  lastname?: string | undefined;
@@ -346,8 +346,8 @@ export declare const repositorySchemaV2: z.ZodObject<{
346
346
  } | undefined;
347
347
  framework?: unknown;
348
348
  users?: {
349
- email: string;
350
349
  id: string;
350
+ email: string;
351
351
  uploadedAvatar?: string | undefined;
352
352
  firstname?: string | undefined;
353
353
  lastname?: string | undefined;
@@ -88,10 +88,7 @@ export declare function useImageField(props: useImageFieldProps): {
88
88
  }) | undefined;
89
89
  onClear: () => void;
90
90
  uploadImage: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<{
91
- url: string;
92
91
  id: string;
93
- size: number;
94
- kind: string;
95
92
  tags: {
96
93
  id: string;
97
94
  name: string;
@@ -100,11 +97,14 @@ export declare function useImageField(props: useImageFieldProps): {
100
97
  count: number;
101
98
  uploader_id?: string | undefined;
102
99
  }[];
100
+ size: number;
101
+ url: string;
102
+ kind: string;
103
103
  last_modified: number;
104
104
  filename: string;
105
105
  notes?: string | undefined;
106
- height?: number | undefined;
107
106
  width?: number | undefined;
107
+ height?: number | undefined;
108
108
  credits?: string | undefined;
109
109
  alt?: string | undefined;
110
110
  uploader_id?: string | undefined;
@@ -4,10 +4,7 @@ interface UseImageFieldImageUploadArgs {
4
4
  }
5
5
  export declare function useImageFieldImageUpload(args: UseImageFieldImageUploadArgs): {
6
6
  uploadImage: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<{
7
- url: string;
8
7
  id: string;
9
- size: number;
10
- kind: string;
11
8
  tags: {
12
9
  id: string;
13
10
  name: string;
@@ -16,11 +13,14 @@ export declare function useImageFieldImageUpload(args: UseImageFieldImageUploadA
16
13
  count: number;
17
14
  uploader_id?: string | undefined;
18
15
  }[];
16
+ size: number;
17
+ url: string;
18
+ kind: string;
19
19
  last_modified: number;
20
20
  filename: string;
21
21
  notes?: string | undefined;
22
- height?: number | undefined;
23
22
  width?: number | undefined;
23
+ height?: number | undefined;
24
24
  credits?: string | undefined;
25
25
  alt?: string | undefined;
26
26
  uploader_id?: string | undefined;
@@ -1,6 +1,6 @@
1
1
  import type { TextContent } from "@prismicio/types-internal/lib/content";
2
2
  import type { Text } from "@prismicio/types-internal/lib/customtypes";
3
- import type { ReactNode } from "react";
3
+ import { type ReactNode } from "react";
4
4
  interface Props {
5
5
  content: TextContent | undefined;
6
6
  field: Text;
@@ -16,13 +16,13 @@ export declare function useDocuments(params: {
16
16
  } | {
17
17
  status: "archived";
18
18
  }) & {
19
- version_id: string;
20
19
  tags: string[];
20
+ version_id: string;
21
21
  last_modified_date: Date;
22
22
  custom_type_label: string;
23
23
  author: {
24
- email?: string | undefined;
25
24
  id?: string | undefined;
25
+ email?: string | undefined;
26
26
  first_name?: string | undefined;
27
27
  last_name?: string | undefined;
28
28
  uploadedAvatar?: string | undefined;
@@ -40,11 +40,11 @@ export declare function useDocuments(params: {
40
40
  } | {
41
41
  status: "archived";
42
42
  }) & {
43
- version_id: string;
44
43
  tags: string[];
44
+ version_id: string;
45
45
  last_modified_date: Date;
46
- summary?: string | undefined;
47
46
  uid?: string | undefined;
47
+ summary?: string | undefined;
48
48
  preview_image?: string | undefined;
49
49
  custom_type_id?: string | undefined;
50
50
  author_ids?: string[] | undefined;
@@ -53,9 +53,9 @@ export declare function useDocuments(params: {
53
53
  } | undefined;
54
54
  }))[];
55
55
  language: {
56
- isMaster?: boolean | undefined;
57
56
  id: string;
58
57
  label: string;
58
+ isMaster: boolean;
59
59
  };
60
60
  title: string;
61
61
  id: string;
@@ -72,13 +72,13 @@ export declare function useDocuments(params: {
72
72
  } | {
73
73
  status: "archived";
74
74
  }) & {
75
- version_id: string;
76
75
  tags: string[];
76
+ version_id: string;
77
77
  last_modified_date: Date;
78
78
  custom_type_label: string;
79
79
  author: {
80
- email?: string | undefined;
81
80
  id?: string | undefined;
81
+ email?: string | undefined;
82
82
  first_name?: string | undefined;
83
83
  last_name?: string | undefined;
84
84
  uploadedAvatar?: string | undefined;
@@ -96,11 +96,11 @@ export declare function useDocuments(params: {
96
96
  } | {
97
97
  status: "archived";
98
98
  }) & {
99
- version_id: string;
100
99
  tags: string[];
100
+ version_id: string;
101
101
  last_modified_date: Date;
102
- summary?: string | undefined;
103
102
  uid?: string | undefined;
103
+ summary?: string | undefined;
104
104
  preview_image?: string | undefined;
105
105
  custom_type_id?: string | undefined;
106
106
  author_ids?: string[] | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import { type IconName } from "@prismicio/editor-ui";
2
3
  import type { RichText } from "@prismicio/types-internal/lib/customtypes";
3
4
  import type { ExtendedRichTextContent } from "./types";
4
5
  interface Props<TContent extends ExtendedRichTextContent> {
@@ -14,6 +15,7 @@ interface Props<TContent extends ExtendedRichTextContent> {
14
15
  * - When `false`, `undefined` will be returned.
15
16
  * @default false */
16
17
  shouldReturnEmptyContent?: boolean;
18
+ icon?: IconName;
17
19
  }
18
20
  export declare function RichTextField<TContent extends ExtendedRichTextContent>(props: Props<TContent>): JSX.Element | null;
19
21
  export {};
@@ -20,10 +20,7 @@ export declare function useImageView(props: useImageViewProps): {
20
20
  updateContent: (content?: ImageBlockData) => void;
21
21
  onClear: () => void;
22
22
  uploadImage: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<{
23
- url: string;
24
23
  id: string;
25
- size: number;
26
- kind: string;
27
24
  tags: {
28
25
  id: string;
29
26
  name: string;
@@ -32,11 +29,14 @@ export declare function useImageView(props: useImageViewProps): {
32
29
  count: number;
33
30
  uploader_id?: string | undefined;
34
31
  }[];
32
+ size: number;
33
+ url: string;
34
+ kind: string;
35
35
  last_modified: number;
36
36
  filename: string;
37
37
  notes?: string | undefined;
38
- height?: number | undefined;
39
38
  width?: number | undefined;
39
+ height?: number | undefined;
40
40
  credits?: string | undefined;
41
41
  alt?: string | undefined;
42
42
  uploader_id?: string | undefined;
@@ -12,7 +12,7 @@ import { Link } from "./Link/Link";
12
12
  import { default as OrderedList } from "./OrderedList/OrderedList";
13
13
  import { default as Paragraph } from "./Paragraph/Paragraph";
14
14
  import { Table } from "./Table/Table";
15
- export declare const MarkExtensions: (import("./Bold/BoldModel").BoldExtension | import("./Italic/ItalicModel").ItalicExtension | import("./Link/LinkModel").LinkExtension | import("./Label/LabelModel").LabelExtension)[];
15
+ export declare const MarkExtensions: (import("./Link/LinkModel").LinkExtension | import("./Bold/BoldModel").BoldExtension | import("./Italic/ItalicModel").ItalicExtension | import("./Label/LabelModel").LabelExtension)[];
16
16
  export type MarkExtensionName = (typeof MarkExtensions)[number]["name"];
17
17
  export declare function getAllExtensions(nodeTypes?: Set<ExtendedRichTextNodeType>): WidgetExtension[];
18
18
  export { Bold, BulletList, CodeBlock, Embed, Heading, Image, Italic, Label, Link, OrderedList, Paragraph, Table, };