react-iiif-vault 0.9.20 → 1.0.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.
Files changed (66) hide show
  1. package/.build/types/canvas-panel/Viewer.d.ts +2 -1
  2. package/.build/types/canvas-panel/context/overlays.d.ts +3 -0
  3. package/.build/types/canvas-panel/context/world-size.d.ts +2 -0
  4. package/.build/types/canvas-panel/index.d.ts +35 -12
  5. package/.build/types/canvas-panel/render/AnnotationPage.d.ts +2 -1
  6. package/.build/types/canvas-panel/render/Audio.d.ts +6 -1
  7. package/.build/types/canvas-panel/render/Canvas.d.ts +10 -4
  8. package/.build/types/canvas-panel/render/DefaultCanvasFallback.d.ts +3 -2
  9. package/.build/types/canvas-panel/render/Image.d.ts +4 -1
  10. package/.build/types/canvas-panel/render/Model.d.ts +5 -1
  11. package/.build/types/canvas-panel/render/Video.d.ts +9 -3
  12. package/.build/types/canvas-panel/render/VideoYouTube.d.ts +12 -0
  13. package/.build/types/context/ContextBridge.d.ts +2 -2
  14. package/.build/types/context/VaultContext.d.ts +1 -1
  15. package/.build/types/context/VisibleCanvasContext.d.ts +1 -1
  16. package/.build/types/features/rendering-strategy/3d-strategy.d.ts +2 -3
  17. package/.build/types/features/rendering-strategy/audio-strategy.d.ts +2 -2
  18. package/.build/types/features/rendering-strategy/image-strategy.d.ts +2 -3
  19. package/.build/types/features/rendering-strategy/rendering-utils.d.ts +3 -16
  20. package/.build/types/features/rendering-strategy/resource-types.d.ts +13 -3
  21. package/.build/types/features/rendering-strategy/strategies.d.ts +3 -3
  22. package/.build/types/features/rendering-strategy/textual-content-strategy.d.ts +3 -4
  23. package/.build/types/features/rendering-strategy/video-strategy.d.ts +2 -2
  24. package/.build/types/future-helpers/ranges.d.ts +3 -2
  25. package/.build/types/future-helpers/sequences.d.ts +5 -3
  26. package/.build/types/hooks/useAnnotation.d.ts +1 -1
  27. package/.build/types/hooks/useAnnotationPage.d.ts +1 -1
  28. package/.build/types/hooks/useAnnotationsAtTime.d.ts +1 -1
  29. package/.build/types/hooks/useCanvas.d.ts +1 -1
  30. package/.build/types/hooks/useCanvasSubset.d.ts +1 -1
  31. package/.build/types/hooks/useCollection.d.ts +1 -1
  32. package/.build/types/hooks/useDispatch.d.ts +2 -2
  33. package/.build/types/hooks/useExternalCollection.d.ts +1 -1
  34. package/.build/types/hooks/useExternalManifest.d.ts +1 -1
  35. package/.build/types/hooks/useManifest.d.ts +1 -1
  36. package/.build/types/hooks/usePaintables.d.ts +1 -1
  37. package/.build/types/hooks/usePaintingAnnotations.d.ts +1 -1
  38. package/.build/types/hooks/useRange.d.ts +1 -1
  39. package/.build/types/hooks/useResourceEvents.d.ts +1 -1
  40. package/.build/types/hooks/useStyleHelper.d.ts +1 -1
  41. package/.build/types/hooks/useVault.d.ts +1 -1
  42. package/.build/types/hooks/useVaultEffect.d.ts +1 -1
  43. package/.build/types/hooks/useVaultSelector.d.ts +1 -1
  44. package/.build/types/hooks/useVirtualAnnotationPage.d.ts +3 -2
  45. package/.build/types/hooks/useVirtualAnnotationPageContext.d.ts +665 -3
  46. package/.build/types/index.d.ts +2 -3
  47. package/.build/types/utility/flatten-annotation-page-ids.d.ts +1 -1
  48. package/.build/types/utility/i18n-utils.d.ts +28 -0
  49. package/.build/types/viewers/SimpleViewerContext.hooks.d.ts +4 -1
  50. package/dist/bundle/cjs/index.js +87 -5
  51. package/dist/bundle/cjs/index.js.map +1 -1
  52. package/dist/bundle/esm/index.mjs +5311 -2781
  53. package/dist/bundle/esm/index.mjs.map +1 -1
  54. package/dist/canvas-panel/cjs/canvas-panel.js +86 -5
  55. package/dist/canvas-panel/cjs/canvas-panel.js.map +1 -1
  56. package/dist/canvas-panel/esm/canvas-panel.mjs +5156 -2365
  57. package/dist/canvas-panel/esm/canvas-panel.mjs.map +1 -1
  58. package/dist/index.umd.js +287 -31
  59. package/dist/index.umd.js.map +1 -1
  60. package/dist/react17/cjs/index.js +87 -5
  61. package/dist/react17/cjs/index.js.map +1 -1
  62. package/dist/react17/esm/index.mjs +5311 -2786
  63. package/dist/react17/esm/index.mjs.map +1 -1
  64. package/package.json +21 -28
  65. package/.build/types/context/PortalContext.d.ts +0 -8
  66. package/.build/types/features/rendering-strategy/choice-types.d.ts +0 -15
@@ -1,8 +1,670 @@
1
- import { Annotation, AnnotationNormalized, AnnotationPageNormalized } from '@iiif/presentation-3';
1
+ import { AnnotationNormalized, AnnotationPageNormalized } from '@iiif/presentation-3-normalized';
2
2
  import { VaultActivatedAnnotation } from './useVirtualAnnotationPage';
3
3
  export declare function useVirtualAnnotationPageContext(): readonly [AnnotationPageNormalized | null, {
4
- readonly addAnnotation: (id: string | AnnotationNormalized | VaultActivatedAnnotation | Annotation, atIndex?: number | undefined) => void;
5
- readonly removeAnnotation: (id: string | AnnotationNormalized | VaultActivatedAnnotation | Annotation) => void;
4
+ readonly addAnnotation: (id: string | AnnotationNormalized | VaultActivatedAnnotation | {
5
+ type: "Annotation";
6
+ id: string;
7
+ timeMode?: string | undefined;
8
+ behavior?: import("@iiif/presentation-3").LiteralUnion<import("@iiif/presentation-3").SpecificationBehaviors>[] | undefined;
9
+ label?: import("@iiif/presentation-3").InternationalString | null | undefined;
10
+ summary?: import("@iiif/presentation-3").InternationalString | null | undefined;
11
+ metadata?: import("@iiif/presentation-3").MetadataItem[] | undefined;
12
+ provider?: import("@iiif/presentation-3").ResourceProvider[] | undefined;
13
+ thumbnail?: import("@iiif/presentation-3").ContentResource[] | undefined;
14
+ requiredStatement?: import("@iiif/presentation-3").MetadataItem | null | undefined;
15
+ seeAlso?: import("@iiif/presentation-3").ContentResource[] | undefined;
16
+ service?: import("@iiif/presentation-3").Service[] | undefined;
17
+ rendering?: import("@iiif/presentation-3").ContentResource[] | undefined;
18
+ partOf?: ({
19
+ id: string;
20
+ behavior?: import("@iiif/presentation-3").LiteralUnion<import("@iiif/presentation-3").SpecificationBehaviors>[] | undefined;
21
+ label?: import("@iiif/presentation-3").InternationalString | null | undefined;
22
+ summary?: import("@iiif/presentation-3").InternationalString | null | undefined;
23
+ metadata?: import("@iiif/presentation-3").MetadataItem[] | undefined;
24
+ rights?: string | null | undefined;
25
+ provider?: import("@iiif/presentation-3").ResourceProvider[] | undefined;
26
+ thumbnail?: import("@iiif/presentation-3").ContentResource[] | undefined;
27
+ requiredStatement?: import("@iiif/presentation-3").MetadataItem | null | undefined;
28
+ seeAlso?: import("@iiif/presentation-3").ContentResource[] | undefined;
29
+ service?: import("@iiif/presentation-3").Service[] | undefined;
30
+ rendering?: import("@iiif/presentation-3").ContentResource[] | undefined;
31
+ homepage?: import("@iiif/presentation-3").ContentResource[] | undefined;
32
+ logo?: import("@iiif/presentation-3").ContentResource[] | undefined;
33
+ type: "AnnotationCollection";
34
+ "@context"?: string | undefined;
35
+ total?: number | undefined;
36
+ first?: string | {
37
+ type: "AnnotationPage";
38
+ items?: any[] | undefined;
39
+ "@context"?: string | undefined;
40
+ next?: string | undefined;
41
+ prev?: string | undefined;
42
+ startIndex?: number | undefined;
43
+ } | undefined;
44
+ last?: string | {
45
+ type: "AnnotationPage";
46
+ items?: any[] | undefined;
47
+ "@context"?: string | undefined;
48
+ next?: string | undefined;
49
+ prev?: string | undefined;
50
+ startIndex?: number | undefined;
51
+ } | undefined;
52
+ partOf: (string | import("@iiif/presentation-3").CollectionItems)[];
53
+ } | import("@iiif/presentation-3").ContentResource | {
54
+ type: "Canvas";
55
+ id: string;
56
+ height?: number | undefined;
57
+ width?: number | undefined;
58
+ duration?: number | undefined;
59
+ behavior?: import("@iiif/presentation-3").LiteralUnion<import("@iiif/presentation-3").SpecificationBehaviors>[] | undefined;
60
+ label?: import("@iiif/presentation-3").InternationalString | null | undefined;
61
+ summary?: import("@iiif/presentation-3").InternationalString | null | undefined;
62
+ metadata?: import("@iiif/presentation-3").MetadataItem[] | undefined;
63
+ rights?: string | null | undefined;
64
+ provider?: import("@iiif/presentation-3").ResourceProvider[] | undefined;
65
+ thumbnail?: import("@iiif/presentation-3").ContentResource[] | undefined;
66
+ accompanyingCanvas?: any | undefined;
67
+ placeholderCanvas?: any | undefined;
68
+ requiredStatement?: import("@iiif/presentation-3").MetadataItem | null | undefined;
69
+ navDate?: string | null | undefined;
70
+ items?: {
71
+ id: string;
72
+ behavior?: import("@iiif/presentation-3").LiteralUnion<import("@iiif/presentation-3").SpecificationBehaviors>[] | undefined;
73
+ label?: import("@iiif/presentation-3").InternationalString | null | undefined;
74
+ summary?: import("@iiif/presentation-3").InternationalString | null | undefined;
75
+ metadata?: import("@iiif/presentation-3").MetadataItem[] | undefined;
76
+ rights?: string | null | undefined;
77
+ provider?: import("@iiif/presentation-3").ResourceProvider[] | undefined;
78
+ thumbnail?: import("@iiif/presentation-3").ContentResource[] | undefined;
79
+ requiredStatement?: import("@iiif/presentation-3").MetadataItem | null | undefined;
80
+ seeAlso?: import("@iiif/presentation-3").ContentResource[] | undefined;
81
+ service?: import("@iiif/presentation-3").Service[] | undefined;
82
+ rendering?: import("@iiif/presentation-3").ContentResource[] | undefined;
83
+ homepage?: import("@iiif/presentation-3").ContentResource[] | undefined;
84
+ logo?: import("@iiif/presentation-3").ContentResource[] | undefined;
85
+ items?: any[] | undefined;
86
+ type: "AnnotationPage";
87
+ "@context"?: string | undefined;
88
+ next?: string | undefined;
89
+ prev?: string | undefined;
90
+ startIndex?: number | undefined;
91
+ partOf?: {
92
+ id: string;
93
+ label?: import("@iiif/presentation-3").InternationalString | undefined;
94
+ summary?: import("@iiif/presentation-3").InternationalString | undefined;
95
+ metadata?: import("@iiif/presentation-3").MetadataItem[] | undefined;
96
+ type?: "AnnotationCollection" | undefined;
97
+ rights?: string | undefined;
98
+ behavior?: import("@iiif/presentation-3").LiteralUnion<import("@iiif/presentation-3").SpecificationBehaviors>[] | undefined;
99
+ provider?: import("@iiif/presentation-3").ResourceProvider[] | undefined;
100
+ thumbnail?: import("@iiif/presentation-3").ContentResource[] | undefined;
101
+ requiredStatement?: import("@iiif/presentation-3").MetadataItem | undefined;
102
+ seeAlso?: import("@iiif/presentation-3").ContentResource[] | undefined;
103
+ service?: import("@iiif/presentation-3").Service[] | undefined;
104
+ rendering?: import("@iiif/presentation-3").ContentResource[] | undefined;
105
+ partOf?: (string | import("@iiif/presentation-3").CollectionItems)[] | undefined;
106
+ homepage?: import("@iiif/presentation-3").ContentResource[] | undefined;
107
+ logo?: import("@iiif/presentation-3").ContentResource[] | undefined;
108
+ "@context"?: string | undefined;
109
+ total?: number | undefined;
110
+ first?: string | {
111
+ type: "AnnotationPage";
112
+ items?: any[] | undefined;
113
+ "@context"?: string | undefined;
114
+ next?: string | undefined;
115
+ prev?: string | undefined;
116
+ startIndex?: number | undefined;
117
+ } | undefined;
118
+ last?: string | {
119
+ type: "AnnotationPage";
120
+ items?: any[] | undefined;
121
+ "@context"?: string | undefined;
122
+ next?: string | undefined;
123
+ prev?: string | undefined;
124
+ startIndex?: number | undefined;
125
+ } | undefined;
126
+ }[] | undefined;
127
+ }[] | undefined;
128
+ annotations?: {
129
+ id: string;
130
+ behavior?: import("@iiif/presentation-3").LiteralUnion<import("@iiif/presentation-3").SpecificationBehaviors>[] | undefined;
131
+ label?: import("@iiif/presentation-3").InternationalString | null | undefined;
132
+ summary?: import("@iiif/presentation-3").InternationalString | null | undefined;
133
+ metadata?: import("@iiif/presentation-3").MetadataItem[] | undefined;
134
+ rights?: string | null | undefined;
135
+ provider?: import("@iiif/presentation-3").ResourceProvider[] | undefined;
136
+ thumbnail?: import("@iiif/presentation-3").ContentResource[] | undefined;
137
+ requiredStatement?: import("@iiif/presentation-3").MetadataItem | null | undefined;
138
+ seeAlso?: import("@iiif/presentation-3").ContentResource[] | undefined;
139
+ service?: import("@iiif/presentation-3").Service[] | undefined;
140
+ rendering?: import("@iiif/presentation-3").ContentResource[] | undefined;
141
+ homepage?: import("@iiif/presentation-3").ContentResource[] | undefined;
142
+ logo?: import("@iiif/presentation-3").ContentResource[] | undefined;
143
+ items?: {
144
+ type: "Annotation";
145
+ id: string;
146
+ timeMode?: string | undefined;
147
+ behavior?: import("@iiif/presentation-3").LiteralUnion<import("@iiif/presentation-3").SpecificationBehaviors>[] | undefined;
148
+ label?: import("@iiif/presentation-3").InternationalString | null | undefined;
149
+ summary?: import("@iiif/presentation-3").InternationalString | null | undefined;
150
+ metadata?: import("@iiif/presentation-3").MetadataItem[] | undefined;
151
+ provider?: import("@iiif/presentation-3").ResourceProvider[] | undefined;
152
+ thumbnail?: import("@iiif/presentation-3").ContentResource[] | undefined;
153
+ requiredStatement?: import("@iiif/presentation-3").MetadataItem | null | undefined;
154
+ seeAlso?: import("@iiif/presentation-3").ContentResource[] | undefined;
155
+ service?: import("@iiif/presentation-3").Service[] | undefined;
156
+ rendering?: import("@iiif/presentation-3").ContentResource[] | undefined;
157
+ partOf?: ({
158
+ id: string;
159
+ behavior?: import("@iiif/presentation-3").LiteralUnion<import("@iiif/presentation-3").SpecificationBehaviors>[] | undefined;
160
+ label?: import("@iiif/presentation-3").InternationalString | null | undefined;
161
+ summary?: import("@iiif/presentation-3").InternationalString | null | undefined;
162
+ metadata?: import("@iiif/presentation-3").MetadataItem[] | undefined;
163
+ rights?: string | null | undefined;
164
+ provider?: import("@iiif/presentation-3").ResourceProvider[] | undefined;
165
+ thumbnail?: import("@iiif/presentation-3").ContentResource[] | undefined;
166
+ requiredStatement?: import("@iiif/presentation-3").MetadataItem | null | undefined;
167
+ seeAlso?: import("@iiif/presentation-3").ContentResource[] | undefined;
168
+ service?: import("@iiif/presentation-3").Service[] | undefined;
169
+ rendering?: import("@iiif/presentation-3").ContentResource[] | undefined;
170
+ homepage?: import("@iiif/presentation-3").ContentResource[] | undefined;
171
+ logo?: import("@iiif/presentation-3").ContentResource[] | undefined;
172
+ type: "AnnotationCollection";
173
+ "@context"?: string | undefined;
174
+ total?: number | undefined;
175
+ first?: string | {
176
+ type: "AnnotationPage";
177
+ items?: any[] | undefined;
178
+ "@context"?: string | undefined;
179
+ next?: string | undefined;
180
+ prev?: string | undefined;
181
+ startIndex?: number | undefined;
182
+ } | undefined;
183
+ last?: string | {
184
+ type: "AnnotationPage";
185
+ items?: any[] | undefined;
186
+ "@context"?: string | undefined;
187
+ next?: string | undefined;
188
+ prev?: string | undefined;
189
+ startIndex?: number | undefined;
190
+ } | undefined;
191
+ partOf: (string | import("@iiif/presentation-3").CollectionItems)[];
192
+ } | import("@iiif/presentation-3").ContentResource | any | {
193
+ type: "Manifest";
194
+ id: string;
195
+ } | {
196
+ type: "Collection";
197
+ id: string;
198
+ })[] | undefined;
199
+ homepage?: import("@iiif/presentation-3").ContentResource[] | undefined;
200
+ logo?: import("@iiif/presentation-3").ContentResource[] | undefined;
201
+ created?: string | undefined;
202
+ generated?: string | undefined;
203
+ modified?: string | undefined;
204
+ creator?: import("@iiif/presentation-3").Creator | undefined;
205
+ generator?: import("@iiif/presentation-3").Creator | undefined;
206
+ audience?: import("@iiif/presentation-3").Audience | import("@iiif/presentation-3").Audience[] | undefined;
207
+ accessibility?: string | string[] | undefined;
208
+ motivation?: import("@iiif/presentation-3").AnyMotivation | import("@iiif/presentation-3").AnyMotivation[] | undefined;
209
+ rights?: string | string[] | undefined;
210
+ canonical?: string | undefined;
211
+ via?: ((string | string[]) & string) | undefined;
212
+ "@context"?: "http://www.w3.org/ns/anno.jsonld" | undefined;
213
+ bodyValue?: string | undefined;
214
+ stylesheet?: string | import("@iiif/presentation-3").Stylesheet | undefined;
215
+ textGranularity?: import("@iiif/presentation-3").TextGranularityOptions | undefined;
216
+ body?: import("@iiif/presentation-3").AnnotationBody | import("@iiif/presentation-3").AnnotationBody[] | undefined;
217
+ target?: import("@iiif/presentation-3").AnnotationTarget | import("@iiif/presentation-3").AnnotationTarget[] | undefined;
218
+ }[] | undefined;
219
+ type: "AnnotationPage";
220
+ "@context"?: string | undefined;
221
+ next?: string | undefined;
222
+ prev?: string | undefined;
223
+ startIndex?: number | undefined;
224
+ partOf?: {
225
+ id: string;
226
+ label?: import("@iiif/presentation-3").InternationalString | undefined;
227
+ summary?: import("@iiif/presentation-3").InternationalString | undefined;
228
+ metadata?: import("@iiif/presentation-3").MetadataItem[] | undefined;
229
+ type?: "AnnotationCollection" | undefined;
230
+ rights?: string | undefined;
231
+ behavior?: import("@iiif/presentation-3").LiteralUnion<import("@iiif/presentation-3").SpecificationBehaviors>[] | undefined;
232
+ provider?: import("@iiif/presentation-3").ResourceProvider[] | undefined;
233
+ thumbnail?: import("@iiif/presentation-3").ContentResource[] | undefined;
234
+ requiredStatement?: import("@iiif/presentation-3").MetadataItem | undefined;
235
+ seeAlso?: import("@iiif/presentation-3").ContentResource[] | undefined;
236
+ service?: import("@iiif/presentation-3").Service[] | undefined;
237
+ rendering?: import("@iiif/presentation-3").ContentResource[] | undefined;
238
+ partOf?: (string | import("@iiif/presentation-3").CollectionItems)[] | undefined;
239
+ homepage?: import("@iiif/presentation-3").ContentResource[] | undefined;
240
+ logo?: import("@iiif/presentation-3").ContentResource[] | undefined;
241
+ "@context"?: string | undefined;
242
+ total?: number | undefined;
243
+ first?: string | {
244
+ type: "AnnotationPage";
245
+ items?: any[] | undefined;
246
+ "@context"?: string | undefined;
247
+ next?: string | undefined;
248
+ prev?: string | undefined;
249
+ startIndex?: number | undefined;
250
+ } | undefined;
251
+ last?: string | {
252
+ type: "AnnotationPage";
253
+ items?: any[] | undefined;
254
+ "@context"?: string | undefined;
255
+ next?: string | undefined;
256
+ prev?: string | undefined;
257
+ startIndex?: number | undefined;
258
+ } | undefined;
259
+ }[] | undefined;
260
+ }[] | undefined;
261
+ seeAlso?: import("@iiif/presentation-3").ContentResource[] | undefined;
262
+ service?: import("@iiif/presentation-3").Service[] | undefined;
263
+ rendering?: import("@iiif/presentation-3").ContentResource[] | undefined;
264
+ partOf?: ({
265
+ id: string;
266
+ behavior?: import("@iiif/presentation-3").LiteralUnion<import("@iiif/presentation-3").SpecificationBehaviors>[] | undefined;
267
+ label?: import("@iiif/presentation-3").InternationalString | null | undefined;
268
+ summary?: import("@iiif/presentation-3").InternationalString | null | undefined;
269
+ metadata?: import("@iiif/presentation-3").MetadataItem[] | undefined;
270
+ rights?: string | null | undefined;
271
+ provider?: import("@iiif/presentation-3").ResourceProvider[] | undefined;
272
+ thumbnail?: import("@iiif/presentation-3").ContentResource[] | undefined;
273
+ requiredStatement?: import("@iiif/presentation-3").MetadataItem | null | undefined;
274
+ seeAlso?: import("@iiif/presentation-3").ContentResource[] | undefined;
275
+ service?: import("@iiif/presentation-3").Service[] | undefined;
276
+ rendering?: import("@iiif/presentation-3").ContentResource[] | undefined;
277
+ homepage?: import("@iiif/presentation-3").ContentResource[] | undefined;
278
+ logo?: import("@iiif/presentation-3").ContentResource[] | undefined;
279
+ type: "AnnotationCollection";
280
+ "@context"?: string | undefined;
281
+ total?: number | undefined;
282
+ first?: string | {
283
+ type: "AnnotationPage";
284
+ items?: any[] | undefined;
285
+ "@context"?: string | undefined;
286
+ next?: string | undefined;
287
+ prev?: string | undefined;
288
+ startIndex?: number | undefined;
289
+ } | undefined;
290
+ last?: string | {
291
+ type: "AnnotationPage";
292
+ items?: any[] | undefined;
293
+ "@context"?: string | undefined;
294
+ next?: string | undefined;
295
+ prev?: string | undefined;
296
+ startIndex?: number | undefined;
297
+ } | undefined;
298
+ partOf: (string | import("@iiif/presentation-3").CollectionItems)[];
299
+ } | import("@iiif/presentation-3").ContentResource | any | {
300
+ type: "Manifest";
301
+ id: string;
302
+ } | {
303
+ type: "Collection";
304
+ id: string;
305
+ })[] | undefined;
306
+ homepage?: import("@iiif/presentation-3").ContentResource[] | undefined;
307
+ logo?: import("@iiif/presentation-3").ContentResource[] | undefined;
308
+ "@context"?: string | string[] | undefined;
309
+ } | {
310
+ type: "Manifest";
311
+ id: string;
312
+ } | {
313
+ type: "Collection";
314
+ id: string;
315
+ })[] | undefined;
316
+ homepage?: import("@iiif/presentation-3").ContentResource[] | undefined;
317
+ logo?: import("@iiif/presentation-3").ContentResource[] | undefined;
318
+ created?: string | undefined;
319
+ generated?: string | undefined;
320
+ modified?: string | undefined;
321
+ creator?: import("@iiif/presentation-3").Creator | undefined;
322
+ generator?: import("@iiif/presentation-3").Creator | undefined;
323
+ audience?: import("@iiif/presentation-3").Audience | import("@iiif/presentation-3").Audience[] | undefined;
324
+ accessibility?: string | string[] | undefined;
325
+ motivation?: import("@iiif/presentation-3").AnyMotivation | import("@iiif/presentation-3").AnyMotivation[] | undefined;
326
+ rights?: string | string[] | undefined;
327
+ canonical?: string | undefined;
328
+ via?: ((string | string[]) & string) | undefined;
329
+ "@context"?: "http://www.w3.org/ns/anno.jsonld" | undefined;
330
+ bodyValue?: string | undefined;
331
+ stylesheet?: string | import("@iiif/presentation-3").Stylesheet | undefined;
332
+ textGranularity?: import("@iiif/presentation-3").TextGranularityOptions | undefined;
333
+ body?: import("@iiif/presentation-3").AnnotationBody | import("@iiif/presentation-3").AnnotationBody[] | undefined;
334
+ target?: import("@iiif/presentation-3").AnnotationTarget | import("@iiif/presentation-3").AnnotationTarget[] | undefined;
335
+ }, atIndex?: number | undefined) => void;
336
+ readonly removeAnnotation: (id: string | AnnotationNormalized | VaultActivatedAnnotation | {
337
+ type: "Annotation";
338
+ id: string;
339
+ timeMode?: string | undefined;
340
+ behavior?: import("@iiif/presentation-3").LiteralUnion<import("@iiif/presentation-3").SpecificationBehaviors>[] | undefined;
341
+ label?: import("@iiif/presentation-3").InternationalString | null | undefined;
342
+ summary?: import("@iiif/presentation-3").InternationalString | null | undefined;
343
+ metadata?: import("@iiif/presentation-3").MetadataItem[] | undefined;
344
+ provider?: import("@iiif/presentation-3").ResourceProvider[] | undefined;
345
+ thumbnail?: import("@iiif/presentation-3").ContentResource[] | undefined;
346
+ requiredStatement?: import("@iiif/presentation-3").MetadataItem | null | undefined;
347
+ seeAlso?: import("@iiif/presentation-3").ContentResource[] | undefined;
348
+ service?: import("@iiif/presentation-3").Service[] | undefined;
349
+ rendering?: import("@iiif/presentation-3").ContentResource[] | undefined;
350
+ partOf?: ({
351
+ id: string;
352
+ behavior?: import("@iiif/presentation-3").LiteralUnion<import("@iiif/presentation-3").SpecificationBehaviors>[] | undefined;
353
+ label?: import("@iiif/presentation-3").InternationalString | null | undefined;
354
+ summary?: import("@iiif/presentation-3").InternationalString | null | undefined;
355
+ metadata?: import("@iiif/presentation-3").MetadataItem[] | undefined;
356
+ rights?: string | null | undefined;
357
+ provider?: import("@iiif/presentation-3").ResourceProvider[] | undefined;
358
+ thumbnail?: import("@iiif/presentation-3").ContentResource[] | undefined;
359
+ requiredStatement?: import("@iiif/presentation-3").MetadataItem | null | undefined;
360
+ seeAlso?: import("@iiif/presentation-3").ContentResource[] | undefined;
361
+ service?: import("@iiif/presentation-3").Service[] | undefined;
362
+ rendering?: import("@iiif/presentation-3").ContentResource[] | undefined;
363
+ homepage?: import("@iiif/presentation-3").ContentResource[] | undefined;
364
+ logo?: import("@iiif/presentation-3").ContentResource[] | undefined;
365
+ type: "AnnotationCollection";
366
+ "@context"?: string | undefined;
367
+ total?: number | undefined;
368
+ first?: string | {
369
+ type: "AnnotationPage";
370
+ items?: any[] | undefined;
371
+ "@context"?: string | undefined;
372
+ next?: string | undefined;
373
+ prev?: string | undefined;
374
+ startIndex?: number | undefined;
375
+ } | undefined;
376
+ last?: string | {
377
+ type: "AnnotationPage";
378
+ items?: any[] | undefined;
379
+ "@context"?: string | undefined;
380
+ next?: string | undefined;
381
+ prev?: string | undefined;
382
+ startIndex?: number | undefined;
383
+ } | undefined;
384
+ partOf: (string | import("@iiif/presentation-3").CollectionItems)[];
385
+ } | import("@iiif/presentation-3").ContentResource | {
386
+ type: "Canvas";
387
+ id: string;
388
+ height?: number | undefined;
389
+ width?: number | undefined;
390
+ duration?: number | undefined;
391
+ behavior?: import("@iiif/presentation-3").LiteralUnion<import("@iiif/presentation-3").SpecificationBehaviors>[] | undefined;
392
+ label?: import("@iiif/presentation-3").InternationalString | null | undefined;
393
+ summary?: import("@iiif/presentation-3").InternationalString | null | undefined;
394
+ metadata?: import("@iiif/presentation-3").MetadataItem[] | undefined;
395
+ rights?: string | null | undefined;
396
+ provider?: import("@iiif/presentation-3").ResourceProvider[] | undefined;
397
+ thumbnail?: import("@iiif/presentation-3").ContentResource[] | undefined;
398
+ accompanyingCanvas?: any | undefined;
399
+ placeholderCanvas?: any | undefined;
400
+ requiredStatement?: import("@iiif/presentation-3").MetadataItem | null | undefined;
401
+ navDate?: string | null | undefined;
402
+ items?: {
403
+ id: string;
404
+ behavior?: import("@iiif/presentation-3").LiteralUnion<import("@iiif/presentation-3").SpecificationBehaviors>[] | undefined;
405
+ label?: import("@iiif/presentation-3").InternationalString | null | undefined;
406
+ summary?: import("@iiif/presentation-3").InternationalString | null | undefined;
407
+ metadata?: import("@iiif/presentation-3").MetadataItem[] | undefined;
408
+ rights?: string | null | undefined;
409
+ provider?: import("@iiif/presentation-3").ResourceProvider[] | undefined;
410
+ thumbnail?: import("@iiif/presentation-3").ContentResource[] | undefined;
411
+ requiredStatement?: import("@iiif/presentation-3").MetadataItem | null | undefined;
412
+ seeAlso?: import("@iiif/presentation-3").ContentResource[] | undefined;
413
+ service?: import("@iiif/presentation-3").Service[] | undefined;
414
+ rendering?: import("@iiif/presentation-3").ContentResource[] | undefined;
415
+ homepage?: import("@iiif/presentation-3").ContentResource[] | undefined;
416
+ logo?: import("@iiif/presentation-3").ContentResource[] | undefined;
417
+ items?: any[] | undefined;
418
+ type: "AnnotationPage";
419
+ "@context"?: string | undefined;
420
+ next?: string | undefined;
421
+ prev?: string | undefined;
422
+ startIndex?: number | undefined;
423
+ partOf?: {
424
+ id: string;
425
+ label?: import("@iiif/presentation-3").InternationalString | undefined;
426
+ summary?: import("@iiif/presentation-3").InternationalString | undefined;
427
+ metadata?: import("@iiif/presentation-3").MetadataItem[] | undefined;
428
+ type?: "AnnotationCollection" | undefined;
429
+ rights?: string | undefined;
430
+ behavior?: import("@iiif/presentation-3").LiteralUnion<import("@iiif/presentation-3").SpecificationBehaviors>[] | undefined;
431
+ provider?: import("@iiif/presentation-3").ResourceProvider[] | undefined;
432
+ thumbnail?: import("@iiif/presentation-3").ContentResource[] | undefined;
433
+ requiredStatement?: import("@iiif/presentation-3").MetadataItem | undefined;
434
+ seeAlso?: import("@iiif/presentation-3").ContentResource[] | undefined;
435
+ service?: import("@iiif/presentation-3").Service[] | undefined;
436
+ rendering?: import("@iiif/presentation-3").ContentResource[] | undefined;
437
+ partOf?: (string | import("@iiif/presentation-3").CollectionItems)[] | undefined;
438
+ homepage?: import("@iiif/presentation-3").ContentResource[] | undefined;
439
+ logo?: import("@iiif/presentation-3").ContentResource[] | undefined;
440
+ "@context"?: string | undefined;
441
+ total?: number | undefined;
442
+ first?: string | {
443
+ type: "AnnotationPage";
444
+ items?: any[] | undefined;
445
+ "@context"?: string | undefined;
446
+ next?: string | undefined;
447
+ prev?: string | undefined;
448
+ startIndex?: number | undefined;
449
+ } | undefined;
450
+ last?: string | {
451
+ type: "AnnotationPage";
452
+ items?: any[] | undefined;
453
+ "@context"?: string | undefined;
454
+ next?: string | undefined;
455
+ prev?: string | undefined;
456
+ startIndex?: number | undefined;
457
+ } | undefined;
458
+ }[] | undefined;
459
+ }[] | undefined;
460
+ annotations?: {
461
+ id: string;
462
+ behavior?: import("@iiif/presentation-3").LiteralUnion<import("@iiif/presentation-3").SpecificationBehaviors>[] | undefined;
463
+ label?: import("@iiif/presentation-3").InternationalString | null | undefined;
464
+ summary?: import("@iiif/presentation-3").InternationalString | null | undefined;
465
+ metadata?: import("@iiif/presentation-3").MetadataItem[] | undefined;
466
+ rights?: string | null | undefined;
467
+ provider?: import("@iiif/presentation-3").ResourceProvider[] | undefined;
468
+ thumbnail?: import("@iiif/presentation-3").ContentResource[] | undefined;
469
+ requiredStatement?: import("@iiif/presentation-3").MetadataItem | null | undefined;
470
+ seeAlso?: import("@iiif/presentation-3").ContentResource[] | undefined;
471
+ service?: import("@iiif/presentation-3").Service[] | undefined;
472
+ rendering?: import("@iiif/presentation-3").ContentResource[] | undefined;
473
+ homepage?: import("@iiif/presentation-3").ContentResource[] | undefined;
474
+ logo?: import("@iiif/presentation-3").ContentResource[] | undefined;
475
+ items?: {
476
+ type: "Annotation";
477
+ id: string;
478
+ timeMode?: string | undefined;
479
+ behavior?: import("@iiif/presentation-3").LiteralUnion<import("@iiif/presentation-3").SpecificationBehaviors>[] | undefined;
480
+ label?: import("@iiif/presentation-3").InternationalString | null | undefined;
481
+ summary?: import("@iiif/presentation-3").InternationalString | null | undefined;
482
+ metadata?: import("@iiif/presentation-3").MetadataItem[] | undefined;
483
+ provider?: import("@iiif/presentation-3").ResourceProvider[] | undefined;
484
+ thumbnail?: import("@iiif/presentation-3").ContentResource[] | undefined;
485
+ requiredStatement?: import("@iiif/presentation-3").MetadataItem | null | undefined;
486
+ seeAlso?: import("@iiif/presentation-3").ContentResource[] | undefined;
487
+ service?: import("@iiif/presentation-3").Service[] | undefined;
488
+ rendering?: import("@iiif/presentation-3").ContentResource[] | undefined;
489
+ partOf?: ({
490
+ id: string;
491
+ behavior?: import("@iiif/presentation-3").LiteralUnion<import("@iiif/presentation-3").SpecificationBehaviors>[] | undefined;
492
+ label?: import("@iiif/presentation-3").InternationalString | null | undefined;
493
+ summary?: import("@iiif/presentation-3").InternationalString | null | undefined;
494
+ metadata?: import("@iiif/presentation-3").MetadataItem[] | undefined;
495
+ rights?: string | null | undefined;
496
+ provider?: import("@iiif/presentation-3").ResourceProvider[] | undefined;
497
+ thumbnail?: import("@iiif/presentation-3").ContentResource[] | undefined;
498
+ requiredStatement?: import("@iiif/presentation-3").MetadataItem | null | undefined;
499
+ seeAlso?: import("@iiif/presentation-3").ContentResource[] | undefined;
500
+ service?: import("@iiif/presentation-3").Service[] | undefined;
501
+ rendering?: import("@iiif/presentation-3").ContentResource[] | undefined;
502
+ homepage?: import("@iiif/presentation-3").ContentResource[] | undefined;
503
+ logo?: import("@iiif/presentation-3").ContentResource[] | undefined;
504
+ type: "AnnotationCollection";
505
+ "@context"?: string | undefined;
506
+ total?: number | undefined;
507
+ first?: string | {
508
+ type: "AnnotationPage";
509
+ items?: any[] | undefined;
510
+ "@context"?: string | undefined;
511
+ next?: string | undefined;
512
+ prev?: string | undefined;
513
+ startIndex?: number | undefined;
514
+ } | undefined;
515
+ last?: string | {
516
+ type: "AnnotationPage";
517
+ items?: any[] | undefined;
518
+ "@context"?: string | undefined;
519
+ next?: string | undefined;
520
+ prev?: string | undefined;
521
+ startIndex?: number | undefined;
522
+ } | undefined;
523
+ partOf: (string | import("@iiif/presentation-3").CollectionItems)[];
524
+ } | import("@iiif/presentation-3").ContentResource | any | {
525
+ type: "Manifest";
526
+ id: string;
527
+ } | {
528
+ type: "Collection";
529
+ id: string;
530
+ })[] | undefined;
531
+ homepage?: import("@iiif/presentation-3").ContentResource[] | undefined;
532
+ logo?: import("@iiif/presentation-3").ContentResource[] | undefined;
533
+ created?: string | undefined;
534
+ generated?: string | undefined;
535
+ modified?: string | undefined;
536
+ creator?: import("@iiif/presentation-3").Creator | undefined;
537
+ generator?: import("@iiif/presentation-3").Creator | undefined;
538
+ audience?: import("@iiif/presentation-3").Audience | import("@iiif/presentation-3").Audience[] | undefined;
539
+ accessibility?: string | string[] | undefined;
540
+ motivation?: import("@iiif/presentation-3").AnyMotivation | import("@iiif/presentation-3").AnyMotivation[] | undefined;
541
+ rights?: string | string[] | undefined;
542
+ canonical?: string | undefined;
543
+ via?: ((string | string[]) & string) | undefined;
544
+ "@context"?: "http://www.w3.org/ns/anno.jsonld" | undefined;
545
+ bodyValue?: string | undefined;
546
+ stylesheet?: string | import("@iiif/presentation-3").Stylesheet | undefined;
547
+ textGranularity?: import("@iiif/presentation-3").TextGranularityOptions | undefined;
548
+ body?: import("@iiif/presentation-3").AnnotationBody | import("@iiif/presentation-3").AnnotationBody[] | undefined;
549
+ target?: import("@iiif/presentation-3").AnnotationTarget | import("@iiif/presentation-3").AnnotationTarget[] | undefined;
550
+ }[] | undefined;
551
+ type: "AnnotationPage";
552
+ "@context"?: string | undefined;
553
+ next?: string | undefined;
554
+ prev?: string | undefined;
555
+ startIndex?: number | undefined;
556
+ partOf?: {
557
+ id: string;
558
+ label?: import("@iiif/presentation-3").InternationalString | undefined;
559
+ summary?: import("@iiif/presentation-3").InternationalString | undefined;
560
+ metadata?: import("@iiif/presentation-3").MetadataItem[] | undefined;
561
+ type?: "AnnotationCollection" | undefined;
562
+ rights?: string | undefined;
563
+ behavior?: import("@iiif/presentation-3").LiteralUnion<import("@iiif/presentation-3").SpecificationBehaviors>[] | undefined;
564
+ provider?: import("@iiif/presentation-3").ResourceProvider[] | undefined;
565
+ thumbnail?: import("@iiif/presentation-3").ContentResource[] | undefined;
566
+ requiredStatement?: import("@iiif/presentation-3").MetadataItem | undefined;
567
+ seeAlso?: import("@iiif/presentation-3").ContentResource[] | undefined;
568
+ service?: import("@iiif/presentation-3").Service[] | undefined;
569
+ rendering?: import("@iiif/presentation-3").ContentResource[] | undefined;
570
+ partOf?: (string | import("@iiif/presentation-3").CollectionItems)[] | undefined;
571
+ homepage?: import("@iiif/presentation-3").ContentResource[] | undefined;
572
+ logo?: import("@iiif/presentation-3").ContentResource[] | undefined;
573
+ "@context"?: string | undefined;
574
+ total?: number | undefined;
575
+ first?: string | {
576
+ type: "AnnotationPage";
577
+ items?: any[] | undefined;
578
+ "@context"?: string | undefined;
579
+ next?: string | undefined;
580
+ prev?: string | undefined;
581
+ startIndex?: number | undefined;
582
+ } | undefined;
583
+ last?: string | {
584
+ type: "AnnotationPage";
585
+ items?: any[] | undefined;
586
+ "@context"?: string | undefined;
587
+ next?: string | undefined;
588
+ prev?: string | undefined;
589
+ startIndex?: number | undefined;
590
+ } | undefined;
591
+ }[] | undefined;
592
+ }[] | undefined;
593
+ seeAlso?: import("@iiif/presentation-3").ContentResource[] | undefined;
594
+ service?: import("@iiif/presentation-3").Service[] | undefined;
595
+ rendering?: import("@iiif/presentation-3").ContentResource[] | undefined;
596
+ partOf?: ({
597
+ id: string;
598
+ behavior?: import("@iiif/presentation-3").LiteralUnion<import("@iiif/presentation-3").SpecificationBehaviors>[] | undefined;
599
+ label?: import("@iiif/presentation-3").InternationalString | null | undefined;
600
+ summary?: import("@iiif/presentation-3").InternationalString | null | undefined;
601
+ metadata?: import("@iiif/presentation-3").MetadataItem[] | undefined;
602
+ rights?: string | null | undefined;
603
+ provider?: import("@iiif/presentation-3").ResourceProvider[] | undefined;
604
+ thumbnail?: import("@iiif/presentation-3").ContentResource[] | undefined;
605
+ requiredStatement?: import("@iiif/presentation-3").MetadataItem | null | undefined;
606
+ seeAlso?: import("@iiif/presentation-3").ContentResource[] | undefined;
607
+ service?: import("@iiif/presentation-3").Service[] | undefined;
608
+ rendering?: import("@iiif/presentation-3").ContentResource[] | undefined;
609
+ homepage?: import("@iiif/presentation-3").ContentResource[] | undefined;
610
+ logo?: import("@iiif/presentation-3").ContentResource[] | undefined;
611
+ type: "AnnotationCollection";
612
+ "@context"?: string | undefined;
613
+ total?: number | undefined;
614
+ first?: string | {
615
+ type: "AnnotationPage";
616
+ items?: any[] | undefined;
617
+ "@context"?: string | undefined;
618
+ next?: string | undefined;
619
+ prev?: string | undefined;
620
+ startIndex?: number | undefined;
621
+ } | undefined;
622
+ last?: string | {
623
+ type: "AnnotationPage";
624
+ items?: any[] | undefined;
625
+ "@context"?: string | undefined;
626
+ next?: string | undefined;
627
+ prev?: string | undefined;
628
+ startIndex?: number | undefined;
629
+ } | undefined;
630
+ partOf: (string | import("@iiif/presentation-3").CollectionItems)[];
631
+ } | import("@iiif/presentation-3").ContentResource | any | {
632
+ type: "Manifest";
633
+ id: string;
634
+ } | {
635
+ type: "Collection";
636
+ id: string;
637
+ })[] | undefined;
638
+ homepage?: import("@iiif/presentation-3").ContentResource[] | undefined;
639
+ logo?: import("@iiif/presentation-3").ContentResource[] | undefined;
640
+ "@context"?: string | string[] | undefined;
641
+ } | {
642
+ type: "Manifest";
643
+ id: string;
644
+ } | {
645
+ type: "Collection";
646
+ id: string;
647
+ })[] | undefined;
648
+ homepage?: import("@iiif/presentation-3").ContentResource[] | undefined;
649
+ logo?: import("@iiif/presentation-3").ContentResource[] | undefined;
650
+ created?: string | undefined;
651
+ generated?: string | undefined;
652
+ modified?: string | undefined;
653
+ creator?: import("@iiif/presentation-3").Creator | undefined;
654
+ generator?: import("@iiif/presentation-3").Creator | undefined;
655
+ audience?: import("@iiif/presentation-3").Audience | import("@iiif/presentation-3").Audience[] | undefined;
656
+ accessibility?: string | string[] | undefined;
657
+ motivation?: import("@iiif/presentation-3").AnyMotivation | import("@iiif/presentation-3").AnyMotivation[] | undefined;
658
+ rights?: string | string[] | undefined;
659
+ canonical?: string | undefined;
660
+ via?: ((string | string[]) & string) | undefined;
661
+ "@context"?: "http://www.w3.org/ns/anno.jsonld" | undefined;
662
+ bodyValue?: string | undefined;
663
+ stylesheet?: string | import("@iiif/presentation-3").Stylesheet | undefined;
664
+ textGranularity?: import("@iiif/presentation-3").TextGranularityOptions | undefined;
665
+ body?: import("@iiif/presentation-3").AnnotationBody | import("@iiif/presentation-3").AnnotationBody[] | undefined;
666
+ target?: import("@iiif/presentation-3").AnnotationTarget | import("@iiif/presentation-3").AnnotationTarget[] | undefined;
667
+ }) => void;
6
668
  }];
7
669
  export declare function VirtualAnnotationProvider({ children }: {
8
670
  children: any;