sanity 5.8.2-next.2 → 5.8.2-next.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.
@@ -2,7 +2,7 @@ import { Bt as DocumentFieldActionNode$1, C_ as CopyPasteContextType, Df as Ment
2
2
  import { C as RouterPanes, N as PaneContextValue, O as StructureToolContextValue, P as PaneLayoutContextValue, i as PaneRouterContextValue, s as DocumentPaneContextValue, v as PaneNode } from "./_chunks-dts/types.js";
3
3
  import { g as PresentationParamsContextValue, h as PresentationNavigateContextValue, m as PresentationContextValue, v as PresentationPluginOptions } from "./_chunks-dts/types2.js";
4
4
  import { _ as RouterContextValue } from "./_chunks-dts/types3.js";
5
- import * as react472 from "react";
5
+ import * as react463 from "react";
6
6
  import { CSSProperties, ComponentType, MutableRefObject, PropsWithChildren, ReactNode, RefObject } from "react";
7
7
  import { ObjectSchemaType, Path, PortableTextBlock, SanityDocument, ValidationMarker } from "@sanity/types";
8
8
  import { SanityClient } from "@sanity/client";
@@ -14,16 +14,16 @@ import { SemVer } from "semver";
14
14
  import { PortableTextMemberSchemaTypes } from "@portabletext/sanity-bridge";
15
15
  import { Serializable } from "@sanity/presentation-comlink";
16
16
  /** @internal */
17
- declare const ActiveWorkspaceMatcherContext: react472.Context<ActiveWorkspaceMatcherContextValue | null>;
17
+ declare const ActiveWorkspaceMatcherContext: react463.Context<ActiveWorkspaceMatcherContextValue | null>;
18
18
  /**
19
19
  * @beta
20
20
  * @hidden
21
21
  */
22
- declare const AddonDatasetContext: react472.Context<AddonDatasetContextValue | null>;
22
+ declare const AddonDatasetContext: react463.Context<AddonDatasetContextValue | null>;
23
23
  /**
24
24
  * @internal
25
25
  */
26
- declare const AppIdCacheContext: react472.Context<AppIdCache | null>;
26
+ declare const AppIdCacheContext: react463.Context<AppIdCache | null>;
27
27
  /**
28
28
  * @internal
29
29
  */
@@ -39,7 +39,7 @@ interface AssetLimitUpsellContextValue {
39
39
  /**
40
40
  * @internal
41
41
  */
42
- declare const AssetLimitUpsellContext: react472.Context<AssetLimitUpsellContextValue | null>;
42
+ declare const AssetLimitUpsellContext: react463.Context<AssetLimitUpsellContextValue | null>;
43
43
  interface CalendarContextValue {
44
44
  date?: Date;
45
45
  endDate?: Date;
@@ -55,7 +55,7 @@ interface CalendarContextValue {
55
55
  /**
56
56
  * @internal
57
57
  */
58
- declare const CalendarContext: react472.Context<CalendarContextValue | undefined>;
58
+ declare const CalendarContext: react463.Context<CalendarContextValue | undefined>;
59
59
  /**
60
60
  * @internal
61
61
  * @hidden
@@ -67,58 +67,58 @@ type ChangeIndicatorTrackerContextStoreType = TrackerContextStore<ChangeIndicato
67
67
  */
68
68
  type ChangeIndicatorTrackerGetSnapshotType = TrackerContextGetSnapshot<ChangeIndicatorTrackerContextValue> | null;
69
69
  /** @internal */
70
- declare const ChangeIndicatorTrackerContextStore: react472.Context<ChangeIndicatorTrackerContextStoreType>;
70
+ declare const ChangeIndicatorTrackerContextStore: react463.Context<ChangeIndicatorTrackerContextStoreType>;
71
71
  /** @internal */
72
- declare const ChangeIndicatorTrackerContextGetSnapshot: react472.Context<ChangeIndicatorTrackerGetSnapshotType>;
72
+ declare const ChangeIndicatorTrackerContextGetSnapshot: react463.Context<ChangeIndicatorTrackerGetSnapshotType>;
73
73
  /**
74
74
  * The setter for ColorSchemeValueContext, in a separate context to avoid unnecessary re-renders
75
75
  * If set to false then the UI should adjust to reflect that the Studio can't change the color scheme
76
76
  * @internal
77
77
  */
78
- declare const ColorSchemeSetValueContext: react472.Context<false | ((nextScheme: StudioColorScheme) => void) | null>;
78
+ declare const ColorSchemeSetValueContext: react463.Context<false | ((nextScheme: StudioColorScheme) => void) | null>;
79
79
  /**
80
80
  * Used to keep track of the internal value, which can be "system" in addition to "light" and "dark"
81
81
  * @internal
82
82
  */
83
- declare const ColorSchemeValueContext: react472.Context<StudioColorScheme | null>;
83
+ declare const ColorSchemeValueContext: react463.Context<StudioColorScheme | null>;
84
84
  /**
85
85
  * @internal
86
86
  */
87
- declare const CommentInputContext: react472.Context<CommentInputContextValue | null>;
87
+ declare const CommentInputContext: react463.Context<CommentInputContextValue | null>;
88
88
  /**
89
89
  * @beta
90
90
  * @hidden
91
91
  */
92
- declare const CommentsAuthoringPathContext: react472.Context<CommentsAuthoringPathContextValue | null>;
92
+ declare const CommentsAuthoringPathContext: react463.Context<CommentsAuthoringPathContextValue | null>;
93
93
  /**
94
94
  * @internal
95
95
  */
96
- declare const CommentsContext: react472.Context<CommentsContextValue | null>;
96
+ declare const CommentsContext: react463.Context<CommentsContextValue | null>;
97
97
  /**
98
98
  * @internal
99
99
  */
100
- declare const CommentsEnabledContext: react472.Context<CommentsEnabledContextValue>;
100
+ declare const CommentsEnabledContext: react463.Context<CommentsEnabledContextValue>;
101
101
  /**
102
102
  * @internal
103
103
  */
104
- declare const CommentsIntentContext: react472.Context<CommentIntentGetter | undefined>;
104
+ declare const CommentsIntentContext: react463.Context<CommentIntentGetter | undefined>;
105
105
  /**
106
106
  * @internal
107
107
  */
108
- declare const CommentsOnboardingContext: react472.Context<CommentsOnboardingContextValue | null>;
108
+ declare const CommentsOnboardingContext: react463.Context<CommentsOnboardingContextValue | null>;
109
109
  /**
110
110
  * @internal
111
111
  */
112
- declare const CommentsSelectedPathContext: react472.Context<CommentsSelectedPathContextValue | null>;
112
+ declare const CommentsSelectedPathContext: react463.Context<CommentsSelectedPathContextValue | null>;
113
113
  /**
114
114
  * @internal
115
115
  */
116
- declare const CommentsUpsellContext: react472.Context<CommentsUpsellContextValue | null>;
116
+ declare const CommentsUpsellContext: react463.Context<CommentsUpsellContextValue | null>;
117
117
  /**
118
118
  * @beta
119
119
  * @hidden
120
120
  */
121
- declare const CopyPasteContext: react472.Context<CopyPasteContextType | null>;
121
+ declare const CopyPasteContext: react463.Context<CopyPasteContextType | null>;
122
122
  /**
123
123
  * Entry in the dialog stack.
124
124
  *
@@ -150,21 +150,21 @@ interface DialogStackContextValue {
150
150
  *
151
151
  * @beta
152
152
  */
153
- declare const DialogStackContext: react472.Context<DialogStackContextValue | null>;
153
+ declare const DialogStackContext: react463.Context<DialogStackContextValue | null>;
154
154
  /** @internal */
155
- declare const DiffContext: react472.Context<{
155
+ declare const DiffContext: react463.Context<{
156
156
  path: Path;
157
157
  }>;
158
158
  /**
159
159
  * @internal
160
160
  */
161
- declare const DocumentActionPropsContext: react472.Context<DocumentActionProps | undefined>;
161
+ declare const DocumentActionPropsContext: react463.Context<DocumentActionProps | undefined>;
162
162
  /**
163
163
  * @internal
164
164
  */
165
- declare const DocumentActionsStateContext: react472.Context<DocumentActionDescription[] | null>;
165
+ declare const DocumentActionsStateContext: react463.Context<DocumentActionDescription[] | null>;
166
166
  /** @internal */
167
- declare const DocumentChangeContext: react472.Context<DocumentChangeContextInstance | null>;
167
+ declare const DocumentChangeContext: react463.Context<DocumentChangeContextInstance | null>;
168
168
  /**
169
169
  * @internal
170
170
  */
@@ -174,7 +174,7 @@ interface DocumentFieldActionsContextValue {
174
174
  /**
175
175
  * @internal
176
176
  */
177
- declare const DocumentFieldActionsContext: react472.Context<DocumentFieldActionsContextValue | null>;
177
+ declare const DocumentFieldActionsContext: react463.Context<DocumentFieldActionsContextValue | null>;
178
178
  /**
179
179
  * @internal
180
180
  */
@@ -184,7 +184,7 @@ interface DocumentIdContextValue {
184
184
  /**
185
185
  * @internal
186
186
  */
187
- declare const DocumentIdContext: react472.Context<DocumentIdContextValue | null>;
187
+ declare const DocumentIdContext: react463.Context<DocumentIdContextValue | null>;
188
188
  /**
189
189
  * @internal
190
190
  */
@@ -203,9 +203,9 @@ interface DocumentLimitUpsellContextValue {
203
203
  /**
204
204
  * @internal
205
205
  */
206
- declare const DocumentLimitUpsellContext: react472.Context<DocumentLimitUpsellContextValue | null>;
206
+ declare const DocumentLimitUpsellContext: react463.Context<DocumentLimitUpsellContextValue | null>;
207
207
  /** @internal */
208
- declare const DocumentPaneContext: react472.Context<DocumentPaneContextValue | null>;
208
+ declare const DocumentPaneContext: react463.Context<DocumentPaneContextValue | null>;
209
209
  /** @internal */
210
210
  interface DocumentSheetListContextValue {
211
211
  focusAnchorCell: () => void;
@@ -215,15 +215,15 @@ interface DocumentSheetListContextValue {
215
215
  submitFocusedCell: () => void;
216
216
  }
217
217
  /** @internal */
218
- declare const DocumentSheetListContext: react472.Context<DocumentSheetListContextValue | undefined>;
218
+ declare const DocumentSheetListContext: react463.Context<DocumentSheetListContextValue | undefined>;
219
219
  /**
220
220
  * @internal
221
221
  */
222
- declare const EnhancedObjectDialogContext: react472.Context<EnhancedObjectDialogContextValue>;
222
+ declare const EnhancedObjectDialogContext: react463.Context<EnhancedObjectDialogContextValue>;
223
223
  /**
224
224
  * @internal
225
225
  */
226
- declare const EventsContext: react472.Context<EventsStore | null>;
226
+ declare const EventsContext: react463.Context<EventsStore | null>;
227
227
  /** @internal */
228
228
  interface FieldActionsContextValue {
229
229
  actions: DocumentFieldActionNode$1[];
@@ -235,21 +235,21 @@ interface FieldActionsContextValue {
235
235
  onMouseLeave: () => void;
236
236
  }
237
237
  /** @internal */
238
- declare const FieldActionsContext: react472.Context<FieldActionsContextValue>;
238
+ declare const FieldActionsContext: react463.Context<FieldActionsContextValue>;
239
239
  /**
240
240
  * @internal
241
241
  */
242
- declare const FormBuilderContext: react472.Context<FormBuilderContextValue | null>;
242
+ declare const FormBuilderContext: react463.Context<FormBuilderContextValue | null>;
243
243
  /**
244
244
  * @internal
245
245
  */
246
- declare const FormCallbacksContext: react472.Context<FormCallbacksValue | null>;
246
+ declare const FormCallbacksContext: react463.Context<FormCallbacksValue | null>;
247
247
  /** @internal */
248
- declare const FormFieldPresenceContext: react472.Context<FormNodePresence[]>;
248
+ declare const FormFieldPresenceContext: react463.Context<FormNodePresence[]>;
249
249
  /**
250
250
  * @internal
251
251
  */
252
- declare const FormValueContext: react472.Context<FormValueContextValue | null>;
252
+ declare const FormValueContext: react463.Context<FormValueContextValue | null>;
253
253
  interface FreeTrialResponse {
254
254
  id: string;
255
255
  icon: string;
@@ -306,7 +306,7 @@ interface FreeTrialContextProps {
306
306
  /**
307
307
  * @internal
308
308
  */
309
- declare const FreeTrialContext: react472.Context<FreeTrialContextProps | undefined>;
309
+ declare const FreeTrialContext: react463.Context<FreeTrialContextProps | undefined>;
310
310
  /**
311
311
  * Context for tracking fullscreen state of portable text editors by their path
312
312
  * @internal
@@ -332,7 +332,7 @@ interface FullscreenPTEContextValue {
332
332
  /**
333
333
  * @internal
334
334
  */
335
- declare const FullscreenPTEContext: react472.Context<FullscreenPTEContextValue>;
335
+ declare const FullscreenPTEContext: react463.Context<FullscreenPTEContextValue>;
336
336
  /**
337
337
  * @internal
338
338
  * @hidden
@@ -341,7 +341,7 @@ type GetFormValueContextValue = (path: Path) => unknown;
341
341
  /**
342
342
  * @internal
343
343
  */
344
- declare const GetFormValueContext: react472.Context<GetFormValueContextValue | null>;
344
+ declare const GetFormValueContext: react463.Context<GetFormValueContextValue | null>;
345
345
  /** @internal */
346
346
  interface HoveredFieldContextValue {
347
347
  store: {
@@ -352,7 +352,7 @@ interface HoveredFieldContextValue {
352
352
  onMouseLeave: (path: Path) => void;
353
353
  }
354
354
  /** @internal */
355
- declare const HoveredFieldContext: react472.Context<HoveredFieldContextValue>;
355
+ declare const HoveredFieldContext: react463.Context<HoveredFieldContextValue>;
356
356
  /**
357
357
  * TODO: remove this context when alternate document-specific context are
358
358
  * introduced.
@@ -368,7 +368,7 @@ declare const HoveredFieldContext: react472.Context<HoveredFieldContextValue>;
368
368
  /**
369
369
  * @internal
370
370
  */
371
- declare const IsLastPaneContext: react472.Context<boolean>;
371
+ declare const IsLastPaneContext: react463.Context<boolean>;
372
372
  /**
373
373
  * User application from the API
374
374
  * @internal
@@ -407,7 +407,7 @@ type LiveUserApplicationContextValue = {
407
407
  * @hidden
408
408
  * @internal
409
409
  */
410
- declare const LiveUserApplicationContext: react472.Context<LiveUserApplicationContextValue>;
410
+ declare const LiveUserApplicationContext: react463.Context<LiveUserApplicationContextValue>;
411
411
  /**
412
412
  * @internal
413
413
  * @hidden
@@ -424,20 +424,20 @@ interface LocaleContextValue {
424
424
  * @internal
425
425
  * @hidden
426
426
  */
427
- declare const LocaleContext: react472.Context<LocaleContextValue | undefined>;
427
+ declare const LocaleContext: react463.Context<LocaleContextValue | undefined>;
428
428
  /** @internal */
429
429
  type MediaLibraryIds = {
430
430
  libraryId: string;
431
431
  organizationId: string;
432
432
  };
433
433
  /** @internal */
434
- declare const MediaLibraryIdsContext: react472.Context<MediaLibraryIds | null>;
434
+ declare const MediaLibraryIdsContext: react463.Context<MediaLibraryIds | null>;
435
435
  /**
436
436
  * @internal
437
437
  */
438
- declare const MentionUserContext: react472.Context<MentionUserContextValue | null>;
438
+ declare const MentionUserContext: react463.Context<MentionUserContextValue | null>;
439
439
  /** @internal */
440
- declare const NavbarContext: react472.Context<NavbarContextValue>;
440
+ declare const NavbarContext: react463.Context<NavbarContextValue>;
441
441
  /**
442
442
  * @hidden
443
443
  * @internal
@@ -488,41 +488,41 @@ type PackageVersionInfoContextValue = {
488
488
  * @hidden
489
489
  * @internal
490
490
  */
491
- declare const PackageVersionInfoContext: react472.Context<PackageVersionInfoContextValue>;
491
+ declare const PackageVersionInfoContext: react463.Context<PackageVersionInfoContextValue>;
492
492
  /**
493
493
  * @internal
494
494
  */
495
- declare const PaneContext: react472.Context<PaneContextValue | null>;
495
+ declare const PaneContext: react463.Context<PaneContextValue | null>;
496
496
  /**
497
497
  * @internal
498
498
  */
499
- declare const PaneLayoutContext: react472.Context<PaneLayoutContextValue | null>;
499
+ declare const PaneLayoutContext: react463.Context<PaneLayoutContextValue | null>;
500
500
  /**
501
501
  *
502
502
  * @hidden
503
503
  * @beta
504
504
  */
505
- declare const PaneRouterContext: react472.Context<PaneRouterContextValue>;
505
+ declare const PaneRouterContext: react463.Context<PaneRouterContextValue>;
506
506
  /**
507
507
  *
508
508
  * @hidden
509
509
  * @beta
510
510
  */
511
- declare const PerspectiveContext: react472.Context<PerspectiveContextValue | null>;
511
+ declare const PerspectiveContext: react463.Context<PerspectiveContextValue | null>;
512
512
  /**
513
513
  * @internal
514
514
  */
515
- declare const PortableTextMarkersContext: react472.Context<PortableTextMarker[]>;
515
+ declare const PortableTextMarkersContext: react463.Context<PortableTextMarker[]>;
516
516
  /** @internal */
517
517
  type PortableTextEditorElement = HTMLDivElement | HTMLSpanElement;
518
518
  /**
519
519
  * @internal
520
520
  */
521
- declare const PortableTextMemberItemElementRefsContext: react472.Context<BehaviorSubject<Record<string, PortableTextEditorElement | null | undefined>>>;
521
+ declare const PortableTextMemberItemElementRefsContext: react463.Context<BehaviorSubject<Record<string, PortableTextEditorElement | null | undefined>>>;
522
522
  /**
523
523
  * @internal
524
524
  */
525
- declare const PortableTextMemberItemsContext: react472.Context<PortableTextMemberItem[]>;
525
+ declare const PortableTextMemberItemsContext: react463.Context<PortableTextMemberItem[]>;
526
526
  /**
527
527
  * Context for Sanity-specific schema types for Portable Text.
528
528
  * This provides access to the full Sanity schema types instead of relying on
@@ -531,11 +531,11 @@ declare const PortableTextMemberItemsContext: react472.Context<PortableTextMembe
531
531
  *
532
532
  * @internal
533
533
  */
534
- declare const PortableTextMemberSchemaTypesContext: react472.Context<PortableTextMemberSchemaTypes | null>;
534
+ declare const PortableTextMemberSchemaTypesContext: react463.Context<PortableTextMemberSchemaTypes | null>;
535
535
  /**
536
536
  * @internal
537
537
  */
538
- declare const PresenceContext: react472.Context<FormNodePresence[]>;
538
+ declare const PresenceContext: react463.Context<FormNodePresence[]>;
539
539
  /**
540
540
  * @internal
541
541
  * @hidden
@@ -547,19 +547,19 @@ type PresenceTrackerContextStoreType = TrackerContextStore<FieldPresenceData> |
547
547
  */
548
548
  type PresenceTrackerGetSnapshotType = TrackerContextGetSnapshot<FieldPresenceData> | null;
549
549
  /** @internal */
550
- declare const PresenceTrackerContextStore: react472.Context<PresenceTrackerContextStoreType>;
550
+ declare const PresenceTrackerContextStore: react463.Context<PresenceTrackerContextStoreType>;
551
551
  /** @internal */
552
- declare const PresenceTrackerContextGetSnapshot: react472.Context<PresenceTrackerGetSnapshotType>;
552
+ declare const PresenceTrackerContextGetSnapshot: react463.Context<PresenceTrackerGetSnapshotType>;
553
553
  /**
554
554
  * @internal
555
555
  */
556
- declare const PresentationContext: react472.Context<PresentationContextValue | null>;
556
+ declare const PresentationContext: react463.Context<PresentationContextValue | null>;
557
557
  /** @internal */
558
558
  type PresentationDisplayedDocumentContextValue = (displayed: Partial<SanityDocument$2> | null | undefined) => void;
559
559
  /**
560
560
  * @internal
561
561
  */
562
- declare const PresentationDisplayedDocumentContext: react472.Context<PresentationDisplayedDocumentContextValue | null>;
562
+ declare const PresentationDisplayedDocumentContext: react463.Context<PresentationDisplayedDocumentContextValue | null>;
563
563
  interface PresentationDocumentContextValue {
564
564
  options: PresentationPluginOptions[];
565
565
  register: (options: PresentationPluginOptions) => () => void;
@@ -567,11 +567,11 @@ interface PresentationDocumentContextValue {
567
567
  /**
568
568
  * @internal
569
569
  */
570
- declare const PresentationDocumentContext: react472.Context<PresentationDocumentContextValue | null>;
570
+ declare const PresentationDocumentContext: react463.Context<PresentationDocumentContextValue | null>;
571
571
  /**
572
572
  * @internal
573
573
  */
574
- declare const PresentationNavigateContext: react472.Context<PresentationNavigateContextValue | null>;
574
+ declare const PresentationNavigateContext: react463.Context<PresentationNavigateContextValue | null>;
575
575
  interface PanelElement {
576
576
  id: string;
577
577
  type: 'panel';
@@ -598,11 +598,11 @@ interface PresentationPanelsContextValue {
598
598
  /**
599
599
  * @internal
600
600
  */
601
- declare const PresentationPanelsContext: react472.Context<PresentationPanelsContextValue | null>;
601
+ declare const PresentationPanelsContext: react463.Context<PresentationPanelsContextValue | null>;
602
602
  /**
603
603
  * @internal
604
604
  */
605
- declare const PresentationParamsContext: react472.Context<PresentationParamsContextValue | null>;
605
+ declare const PresentationParamsContext: react463.Context<PresentationParamsContextValue | null>;
606
606
  interface PresentationSharedStateContextValue {
607
607
  removeValue: (key: string) => void;
608
608
  setValue: (key: string, value: Serializable) => void;
@@ -610,15 +610,15 @@ interface PresentationSharedStateContextValue {
610
610
  /**
611
611
  * @internal
612
612
  */
613
- declare const PresentationSharedStateContext: react472.Context<PresentationSharedStateContextValue | null>;
613
+ declare const PresentationSharedStateContext: react463.Context<PresentationSharedStateContextValue | null>;
614
614
  /**
615
615
  * @internal
616
616
  */
617
- declare const PreviewCardContext: react472.Context<PreviewCardContextValue>;
617
+ declare const PreviewCardContext: react463.Context<PreviewCardContextValue>;
618
618
  /**
619
619
  * @internal
620
620
  */
621
- declare const ReferenceInputOptionsContext: react472.Context<ReferenceInputOptions>;
621
+ declare const ReferenceInputOptionsContext: react463.Context<ReferenceInputOptions>;
622
622
  /**
623
623
  * @internal
624
624
  */
@@ -632,7 +632,7 @@ interface ReferenceItemRef {
632
632
  * so it can be used down the tree for clickOutside handling
633
633
  * @internal
634
634
  */
635
- declare const ReferenceItemRefContext: react472.Context<ReferenceItemRef | null>;
635
+ declare const ReferenceItemRefContext: react463.Context<ReferenceItemRef | null>;
636
636
  /**
637
637
  * @internal
638
638
  */
@@ -645,7 +645,7 @@ interface ReleasesMetadataContextValue {
645
645
  * @internal
646
646
  * @hidden
647
647
  */
648
- declare const ReleasesMetadataContext: react472.Context<ReleasesMetadataContextValue | null>;
648
+ declare const ReleasesMetadataContext: react463.Context<ReleasesMetadataContextValue | null>;
649
649
  type SortDirection = 'asc' | 'desc';
650
650
  interface TableSort {
651
651
  column: string;
@@ -663,12 +663,12 @@ interface TableContextValue {
663
663
  /**
664
664
  * @internal
665
665
  */
666
- declare const TableContext: react472.Context<TableContextValue | null>;
666
+ declare const TableContext: react463.Context<TableContextValue | null>;
667
667
  /**
668
668
  * @beta
669
669
  * @hidden
670
670
  */
671
- declare const ReleasesUpsellContext: react472.Context<ReleasesUpsellContextValue | null>;
671
+ declare const ReleasesUpsellContext: react463.Context<ReleasesUpsellContextValue | null>;
672
672
  declare const LOADING_PANE: unique symbol;
673
673
  interface PaneData {
674
674
  active: boolean;
@@ -697,7 +697,7 @@ interface Panes {
697
697
  /**
698
698
  * @internal
699
699
  */
700
- declare const ResolvedPanesContext: react472.Context<Panes | null>;
700
+ declare const ResolvedPanesContext: react463.Context<Panes | null>;
701
701
  /**
702
702
  * @internal
703
703
  */
@@ -707,26 +707,26 @@ declare function ResolvedPanesProvider({
707
707
  }: {
708
708
  children: ReactNode;
709
709
  value: Panes;
710
- }): react472.JSX.Element;
710
+ }): react463.JSX.Element;
711
711
  /**
712
712
  * @internal
713
713
  */
714
- declare const ResourceCacheContext: react472.Context<ResourceCache | null>;
714
+ declare const ResourceCacheContext: react463.Context<ResourceCache | null>;
715
715
  /** @internal */
716
- declare const ReviewChangesContext: react472.Context<ConnectorContextValue>;
716
+ declare const ReviewChangesContext: react463.Context<ConnectorContextValue>;
717
717
  /**
718
718
  * @internal
719
719
  */
720
- declare const RouterContext: react472.Context<RouterContextValue | null>;
720
+ declare const RouterContext: react463.Context<RouterContextValue | null>;
721
721
  /**
722
722
  * Internal use only. Userland should leverage the public `useRouter` APIs.
723
723
  * @internal
724
724
  */
725
- declare const RouterHistoryContext: react472.Context<RouterHistory | null>;
725
+ declare const RouterHistoryContext: react463.Context<RouterHistory | null>;
726
726
  /**
727
727
  * @internal
728
728
  */
729
- declare const SanityCreateConfigContext: react472.Context<SanityCreateConfigContextValue>;
729
+ declare const SanityCreateConfigContext: react463.Context<SanityCreateConfigContextValue>;
730
730
  interface HasUsedScheduledPublishing {
731
731
  used: boolean;
732
732
  loading: boolean;
@@ -746,7 +746,7 @@ type ScheduledPublishingEnabledContextValue = {
746
746
  /**
747
747
  * @internal
748
748
  */
749
- declare const ScheduledPublishingEnabledContext: react472.Context<ScheduledPublishingEnabledContextValue>;
749
+ declare const ScheduledPublishingEnabledContext: react463.Context<ScheduledPublishingEnabledContextValue>;
750
750
  /**
751
751
  * @internal
752
752
  */
@@ -767,20 +767,20 @@ interface SchedulePublishUpsellContextValue {
767
767
  /**
768
768
  * @internal
769
769
  */
770
- declare const SchedulePublishUpsellContext: react472.Context<SchedulePublishUpsellContextValue>;
770
+ declare const SchedulePublishUpsellContext: react463.Context<SchedulePublishUpsellContextValue>;
771
771
  /**
772
772
  * @deprecated we will be dropping support for scheduled publishing on a future major version
773
773
  * @internal
774
774
  */
775
- declare const SchedulesContext: react472.Context<SchedulesContextValue | undefined>;
775
+ declare const SchedulesContext: react463.Context<SchedulesContextValue | undefined>;
776
776
  /**
777
777
  * @internal
778
778
  */
779
- declare const ScrollContext: react472.Context<PubSub<Event> | null>;
779
+ declare const ScrollContext: react463.Context<PubSub<Event> | null>;
780
780
  /**
781
781
  * @internal
782
782
  */
783
- declare const SearchContext: react472.Context<SearchContextValue | undefined>;
783
+ declare const SearchContext: react463.Context<SearchContextValue | undefined>;
784
784
  /**
785
785
  * Entry representing a selected annotation for the combined popover
786
786
  * @internal
@@ -807,7 +807,7 @@ interface SelectedAnnotationsContextValue {
807
807
  * Used by CombinedAnnotationPopover to show all active annotations in a single popover.
808
808
  * @internal
809
809
  */
810
- declare const SelectedAnnotationsContext: react472.Context<SelectedAnnotationsContextValue | null>;
810
+ declare const SelectedAnnotationsContext: react463.Context<SelectedAnnotationsContextValue | null>;
811
811
  /**
812
812
  * @internal
813
813
  */
@@ -820,7 +820,7 @@ interface SingleDocReleaseContextValue {
820
820
  /**
821
821
  * @internal
822
822
  */
823
- declare const SingleDocReleaseContext: react472.Context<SingleDocReleaseContextValue | null>;
823
+ declare const SingleDocReleaseContext: react463.Context<SingleDocReleaseContextValue | null>;
824
824
  /**
825
825
  * @internal
826
826
  */
@@ -834,7 +834,7 @@ type SingleDocReleaseEnabledContextValue = {
834
834
  /**
835
835
  * @internal
836
836
  */
837
- declare const SingleDocReleaseEnabledContext: react472.Context<SingleDocReleaseEnabledContextValue>;
837
+ declare const SingleDocReleaseEnabledContext: react463.Context<SingleDocReleaseEnabledContextValue>;
838
838
  /**
839
839
  * @internal
840
840
  */
@@ -855,63 +855,63 @@ interface SingleDocReleaseUpsellContextValue {
855
855
  /**
856
856
  * @internal
857
857
  */
858
- declare const SingleDocReleaseUpsellContext: react472.Context<SingleDocReleaseUpsellContextValue>;
858
+ declare const SingleDocReleaseUpsellContext: react463.Context<SingleDocReleaseUpsellContextValue>;
859
859
  /**
860
860
  * @internal
861
861
  */
862
- declare const SortableItemIdContext: react472.Context<string | null>;
862
+ declare const SortableItemIdContext: react463.Context<string | null>;
863
863
  /**
864
864
  * @internal
865
865
  */
866
- declare const SourceContext: react472.Context<Source$1 | null>;
866
+ declare const SourceContext: react463.Context<Source$1 | null>;
867
867
  /**
868
868
  * @internal
869
869
  */
870
- declare const StructureToolContext: react472.Context<StructureToolContextValue | null>;
870
+ declare const StructureToolContext: react463.Context<StructureToolContextValue | null>;
871
871
  /**
872
872
  * @internal
873
873
  */
874
- declare const StudioAnnouncementContext: react472.Context<StudioAnnouncementsContextValue | undefined>;
874
+ declare const StudioAnnouncementContext: react463.Context<StudioAnnouncementsContextValue | undefined>;
875
875
  /**
876
876
  * @internal
877
877
  */
878
- declare const TasksContext: react472.Context<TasksContextValue | null>;
878
+ declare const TasksContext: react463.Context<TasksContextValue | null>;
879
879
  /**
880
880
  * @internal
881
881
  */
882
- declare const TasksEnabledContext: react472.Context<TasksEnabledContextValue>;
882
+ declare const TasksEnabledContext: react463.Context<TasksEnabledContextValue>;
883
883
  /**
884
884
  * @internal
885
885
  */
886
- declare const TasksNavigationContext: react472.Context<TasksNavigationContextValue | null>;
886
+ declare const TasksNavigationContext: react463.Context<TasksNavigationContextValue | null>;
887
887
  /**
888
888
  * @beta
889
889
  * @hidden
890
890
  */
891
- declare const TasksUpsellContext: react472.Context<TasksUpsellContextValue | null>;
891
+ declare const TasksUpsellContext: react463.Context<TasksUpsellContextValue | null>;
892
892
  /**
893
893
  * @internal
894
894
  */
895
- declare const UserApplicationCacheContext: react472.Context<UserApplicationCache | null>;
895
+ declare const UserApplicationCacheContext: react463.Context<UserApplicationCache | null>;
896
896
  /**
897
897
  * @internal
898
898
  */
899
- declare const UserColorManagerContext: react472.Context<UserColorManager | null>;
899
+ declare const UserColorManagerContext: react463.Context<UserColorManager | null>;
900
900
  /**
901
901
  * @internal
902
902
  */
903
- declare const ValidationContext: react472.Context<ValidationMarker[]>;
903
+ declare const ValidationContext: react463.Context<ValidationMarker[]>;
904
904
  /**
905
905
  * This is used to store the reference to the scroll element for virtualizer
906
906
  * @internal
907
907
  */
908
- declare const VirtualizerScrollInstanceContext: react472.Context<VirtualizerScrollInstance | null>;
908
+ declare const VirtualizerScrollInstanceContext: react463.Context<VirtualizerScrollInstance | null>;
909
909
  /**
910
910
  * @internal
911
911
  */
912
- declare const WorkspaceContext: react472.Context<Workspace | null>;
912
+ declare const WorkspaceContext: react463.Context<Workspace | null>;
913
913
  /** @internal */
914
- declare const WorkspacesContext: react472.Context<WorkspacesContextValue | null>;
914
+ declare const WorkspacesContext: react463.Context<WorkspacesContextValue | null>;
915
915
  /**
916
916
  * @internal
917
917
  */
@@ -921,5 +921,5 @@ declare const zIndexContextDefaults: ZIndexContextValue;
921
921
  *
922
922
  * @internal
923
923
  */
924
- declare const ZIndexContext: react472.Context<ZIndexContextValue>;
924
+ declare const ZIndexContext: react463.Context<ZIndexContextValue>;
925
925
  export { ActiveWorkspaceMatcherContext, AddonDatasetContext, AnnotationEntry, AppIdCacheContext, AssetLimitUpsellContext, AssetLimitUpsellContextValue, CalendarContext, ChangeIndicatorTrackerContextGetSnapshot, ChangeIndicatorTrackerContextStore, ColorSchemeSetValueContext, ColorSchemeValueContext, CommentInputContext, CommentsAuthoringPathContext, CommentsContext, CommentsEnabledContext, CommentsIntentContext, CommentsOnboardingContext, CommentsSelectedPathContext, CommentsUpsellContext, CopyPasteContext, DialogStackContext, DialogStackContextValue, DialogStackEntry, DiffContext, DocumentActionPropsContext, DocumentActionsStateContext, DocumentChangeContext, DocumentFieldActionsContext, DocumentFieldActionsContextValue, DocumentIdContext, DocumentIdContextValue, DocumentLimitUpsellContext, DocumentLimitUpsellContextValue, DocumentPaneContext, DocumentSheetListContext, EnhancedObjectDialogContext, EventsContext, FieldActionsContext, FieldActionsContextValue, FormBuilderContext, FormCallbacksContext, FormFieldPresenceContext, FormValueContext, FreeTrialContext, FullscreenPTEContext, GetFormValueContext, GetFormValueContextValue, HoveredFieldContext, HoveredFieldContextValue, IsLastPaneContext, LiveUserApplicationContext, LiveUserApplicationContextValue, LocaleContext, LocaleContextValue, MediaLibraryIdsContext, MentionUserContext, NavbarContext, PackageVersionInfoContext, PackageVersionInfoContextValue, PaneContext, PaneLayoutContext, PaneRouterContext, PerspectiveContext, PortableTextEditorElement, PortableTextMarkersContext, PortableTextMemberItemElementRefsContext, PortableTextMemberItemsContext, PortableTextMemberSchemaTypesContext, PresenceContext, PresenceTrackerContextGetSnapshot, PresenceTrackerContextStore, PresentationContext, PresentationDisplayedDocumentContext, PresentationDocumentContext, PresentationNavigateContext, PresentationPanelsContext, PresentationParamsContext, PresentationSharedStateContext, PreviewCardContext, ReferenceInputOptionsContext, ReferenceItemRef, ReferenceItemRefContext, ReleasesMetadataContext, ReleasesUpsellContext, ResolvedPanesContext, ResolvedPanesProvider, ResourceCacheContext, ReviewChangesContext, RouterContext, RouterHistoryContext, SanityCreateConfigContext, SchedulePublishUpsellContext, SchedulePublishUpsellContextValue, ScheduledPublishingEnabledContext, ScheduledPublishingEnabledContextValue, SchedulesContext, ScrollContext, SearchContext, SelectedAnnotationsContext, SelectedAnnotationsContextValue, SingleDocReleaseContext, SingleDocReleaseContextValue, SingleDocReleaseEnabledContext, SingleDocReleaseEnabledContextValue, SingleDocReleaseUpsellContext, SingleDocReleaseUpsellContextValue, SortableItemIdContext, SourceContext, StructureToolContext, StudioAnnouncementContext, TableContext, TasksContext, TasksEnabledContext, TasksNavigationContext, TasksUpsellContext, UserApplicationCacheContext, UserColorManagerContext, ValidationContext, VirtualizerScrollInstanceContext, WorkspaceContext, WorkspacesContext, ZIndexContext, zIndexContextDefaults };
@@ -1,5 +1,5 @@
1
1
  import { C as PreviewUrlResolver, D as PreviewProps, E as PreviewHeaderProps, S as PreviewUrlOption, T as StructureDocumentPaneParams, _ as PresentationPerspective, a as DocumentLocationResolver, b as PresentationStateParams, c as DocumentLocationsState, d as HeaderOptions, f as InspectorTab, g as PresentationParamsContextValue, h as PresentationNavigateContextValue, i as DocumentLocation, l as DocumentResolver, n as ConnectionStatus, o as DocumentLocationResolverObject, p as NavigatorOptions, r as ContextFn, s as DocumentLocationResolvers, t as CombinedSearchParams, u as DocumentResolverContext, v as PresentationPluginOptions, w as PreviewUrlResolverOptions, x as PresentationViewport, y as PresentationSearchParams } from "./_chunks-dts/types2.js";
2
- import * as sanity2 from "sanity";
2
+ import * as sanity4 from "sanity";
3
3
  import { Serializable, Serializable as Serializable$1, SerializableArray, SerializableObject, SerializablePrimitive } from "@sanity/presentation-comlink";
4
4
  /** @public */
5
5
  declare const useSharedState: (key: string, value: Serializable$1) => undefined;
@@ -18,7 +18,7 @@ declare function defineLocations<K extends string>(resolver: DocumentLocationRes
18
18
  */
19
19
  declare function defineDocuments(resolvers: DocumentResolver[]): typeof resolvers;
20
20
  /** @public */
21
- declare const presentationTool: sanity2.Plugin<PresentationPluginOptions>;
21
+ declare const presentationTool: sanity4.Plugin<PresentationPluginOptions>;
22
22
  /** @public */
23
23
  declare function usePresentationNavigate(): PresentationNavigateContextValue;
24
24
  /** @public */