sanity 6.6.0-next.99 → 6.6.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.
@@ -499,6 +499,12 @@ interface AuthStore {
499
499
  * Custom auth stores can implement a function that is designated to run when
500
500
  * the Studio loads (e.g. to trade a session ID for a token in cookie-less
501
501
  * mode). Within the Studio, this is called within the `AuthBoundary`.
502
+ *
503
+ * The returned promise MUST always settle — promptly when there is no
504
+ * callback to process: the `AuthBoundary` holds its loading screen on an
505
+ * unauthenticated state until it does (the state may be a stale
506
+ * pre-exchange probe result). A promise that never settles leaves
507
+ * logged-out users on the loading screen indefinitely.
502
508
  */
503
509
  handleCallbackUrl?: () => Promise<HandleCallbackResult>;
504
510
  }
@@ -580,6 +586,20 @@ interface HandleCallbackResult {
580
586
  probeDurationMs?: number;
581
587
  /** Which auth method was selected by the probes. Only set when `success` is `true` and flow is `'exchange'`. */
582
588
  authMethod?: 'cookie' | 'token';
589
+ /**
590
+ * Time from applying the exchanged credential until the post-exchange
591
+ * state was probed and emitted. Only set for the successful `'exchange'`
592
+ * flow, whose resolution is deferred until the state reflects the exchange.
593
+ * Not included in `durationMs`, which keeps its original meaning
594
+ * (exchange + probe) for cross-release comparability.
595
+ */
596
+ stateSettleDurationMs?: number;
597
+ /**
598
+ * Whether the post-exchange probe timed out before completing. The
599
+ * callback resolved anyway so the UI can't hang, but the current auth
600
+ * state may not reflect the exchange yet.
601
+ */
602
+ stateSettleTimedOut?: boolean;
583
603
  /** Human-readable reason for failure. Only set when `success` is `false`. */
584
604
  failureReason?: string;
585
605
  /**
@@ -700,8 +720,6 @@ interface MockAuthStoreOptions {
700
720
  * @internal
701
721
  */
702
722
  declare function createMockAuthStore({ client, currentUser }: MockAuthStoreOptions): AuthStore;
703
- /** @internal */
704
- declare function getProviderTitle(provider?: string): string | undefined;
705
723
  /**
706
724
  * Duck-type check for whether or not this looks like an auth store
707
725
  *
@@ -908,12 +926,6 @@ type DocumentVariantType = 'draft' | 'version' | 'published';
908
926
  * @public
909
927
  * */
910
928
  declare function getDocumentVariantType(documentId: string): DocumentVariantType;
911
- /**
912
- * @internal
913
- */
914
- declare const Chip: import("react").ForwardRefExoticComponent<Omit<Omit<any, "as" | keyof import("@sanity/ui").ButtonOwnProps> & import("@sanity/ui").ButtonOwnProps & {
915
- as?: import("@sanity/ui").ElementType<any> | undefined;
916
- }, "ref"> & import("react").RefAttributes<unknown>>;
917
929
  /**
918
930
  *
919
931
  * Checks if the document ID `documentId` has the same ID as `equalsDocumentId`,
@@ -1564,19 +1576,6 @@ declare const useDocumentVersionTypeSortedList: ({ documentId }: {
1564
1576
  * @internal
1565
1577
  */
1566
1578
  declare function useFormatRelativeLocalePublishDate(): (release: ReleaseDocument) => string;
1567
- /** @internal */
1568
- declare const useIsReleaseActive: () => boolean;
1569
- /**
1570
- * Returns a boolean if the document has only versions
1571
- *
1572
- * @param documentId - document id related to the document version list
1573
- * @returns if the document has only versions
1574
- *
1575
- * @beta
1576
- */
1577
- declare const useOnlyHasVersions: ({ documentId }: {
1578
- documentId: string;
1579
- }) => boolean;
1580
1579
  interface VersionOperationsValue {
1581
1580
  createVersion: (releaseId: ReleaseId, documentId: string) => Promise<void>;
1582
1581
  discardVersion: (releaseId: string, documentId: string) => Promise<SingleActionResult>;
@@ -1678,23 +1677,6 @@ declare function useChangeIndicatorsReportedValues(): TrackerContextGetSnapshot<
1678
1677
  * @internal
1679
1678
  */
1680
1679
  declare const useChangeIndicatorsReporter: ReporterHook<ChangeIndicatorTrackerContextValue>;
1681
- /**
1682
- * @beta
1683
- * @hidden
1684
- */
1685
- interface CommentDeleteDialogProps {
1686
- commentId: string;
1687
- error: Error | null;
1688
- isParent: boolean;
1689
- loading: boolean;
1690
- onClose: () => void;
1691
- onConfirm: (id: string) => void;
1692
- }
1693
- /**
1694
- * @beta
1695
- * @hidden
1696
- */
1697
- declare function CommentDeleteDialog(props: CommentDeleteDialogProps): import("react").JSX.Element;
1698
1680
  /**
1699
1681
  * @internal
1700
1682
  */
@@ -1761,35 +1743,6 @@ type ConnectionState = 'connecting' | 'reconnecting' | 'connected';
1761
1743
  declare function connectionState(documentStore: DocumentStore, publishedDocId: string, docTypeName: string, version?: string): Observable<ConnectionState>;
1762
1744
  /** @internal */
1763
1745
  declare function useConnectionState(publishedDocId: string, docTypeName: string, version?: string): ConnectionState;
1764
- /**
1765
- * React hook that returns the name of the current dataset
1766
- *
1767
- * @public
1768
- * @returns The name of the current dataset
1769
- * @example Using the `useDataset` hook
1770
- * ```ts
1771
- * function MyComponent() {
1772
- * const dataset = useDataset()
1773
- * // ... do something with the dataset name ...
1774
- * }
1775
- * ```
1776
- */
1777
- declare function useDataset(): string;
1778
- /**
1779
- * Options for the `useDateTimeFormat` hook
1780
- *
1781
- * @public
1782
- */
1783
- type UseDateTimeFormatOptions = Omit<Intl.DateTimeFormatOptions, 'fractionalSecondDigits'>;
1784
- /**
1785
- * Returns an instance of `Intl.DateTimeFormat` that uses the currently selected locale,
1786
- * and enables locale and culture-sensitive date formatting.
1787
- *
1788
- * @param options - Optional options for the date/time formatter
1789
- * @returns Instance of `Intl.DateTimeFormat`
1790
- * @public
1791
- */
1792
- declare function useDateTimeFormat(options?: UseDateTimeFormatOptions): Intl.DateTimeFormat;
1793
1746
  /**
1794
1747
  * Hook to register a dialog in the stack and check if it's the top-most one.
1795
1748
  *
@@ -2200,15 +2153,6 @@ declare function deriveDocumentSyncState(consistency$: Observable<boolean>, conn
2200
2153
  declare function useDocumentSyncState(publishedDocId: string, docTypeName: string, version?: string): DocumentSyncState;
2201
2154
  /** @internal */
2202
2155
  declare function useEditState(publishedDocId: string, docTypeName: string, priority?: 'default' | 'low', version?: string): EditStateFor;
2203
- interface Features {
2204
- enabled: boolean;
2205
- error: Error | null;
2206
- features: string[];
2207
- isLoading: boolean;
2208
- }
2209
- declare const FEATURES: Record<string, string>;
2210
- /** @internal */
2211
- declare function useFeatureEnabled(featureKey: keyof typeof FEATURES): Features;
2212
2156
  type FilterReleases = {
2213
2157
  notCurrentReleases: ReleaseDocument[];
2214
2158
  currentReleases: ReleaseDocument[];
@@ -2223,54 +2167,6 @@ interface Options$1 extends StrictVersionLayeringOptions {
2223
2167
  * @internal
2224
2168
  */
2225
2169
  declare function useFilteredReleases({ displayed, documentId, strict, historyVersion }: Options$1): FilterReleases;
2226
- /**
2227
- * Options for the duration formatter
2228
- *
2229
- * @public
2230
- */
2231
- interface UseFormattedDurationOptions {
2232
- /**
2233
- * The formatting style to use in unit and list formatting. The default is "short".
2234
- */
2235
- style?: 'short' | 'long' | 'narrow';
2236
- /**
2237
- * The resolution of the duration. The default is "seconds".
2238
- */
2239
- resolution?: 'seconds' | 'milliseconds';
2240
- }
2241
- /**
2242
- * The result of the duration formatter
2243
- *
2244
- * @public
2245
- */
2246
- interface FormattedDuration {
2247
- /** The human-readable, formatted duration as a string, eg "2 days, 3 hr, and 20 sec" */
2248
- formatted: string;
2249
- /** The machine-readable, formatted ISO-8601 duration string, eg "P2DT3H20S" */
2250
- iso8601: string;
2251
- }
2252
- /**
2253
- * Formats a duration (in milliseconds) to a more user friendly string eg `1h 30m` or `1t 29m 15s`.
2254
- * Can be configured to output full units, eg `1 hour 30 minutes` or `1 hour 3 minutes 15 seconds`.
2255
- * Uses the current locale, which also applies to the division of units.
2256
- *
2257
- * @example English (en-US) locale formatting
2258
- * ```ts
2259
- * useFormattedDuration(5589000)
2260
- * // {"formatted": "1 hour, 33 minutes, and 9 seconds", "iso8601": "PT1H33M9S"}
2261
- * ```
2262
- *
2263
- * @example Norwegian (no-NB) locale formatting
2264
- * ```ts
2265
- * useFormattedDuration(5589000)
2266
- * // {"formatted": "1 time, 33 minutter og 9 sekunder", "iso8601": "PT1H33M9S"}
2267
- * ```
2268
- *
2269
- * @param options - Optional options for the number formatter
2270
- * @returns An object with `formatted` and `iso8601` properties
2271
- * @public
2272
- */
2273
- declare function useFormattedDuration(durationMs: number, options?: UseFormattedDurationOptions): FormattedDuration;
2274
2170
  /**
2275
2171
  * This represents the shape of the root value sanity forms expect
2276
2172
  * @hidden
@@ -2289,37 +2185,6 @@ interface GlobalCopyPasteElementHandler {
2289
2185
  }
2290
2186
  /** @internal */
2291
2187
  declare function useGlobalCopyPasteElementHandler({ value, element, focusPath }: GlobalCopyPasteElementHandler): void;
2292
- /**
2293
- * Options for the `useListFormat` hook
2294
- *
2295
- * @public
2296
- */
2297
- interface UseListFormatOptions {
2298
- /**
2299
- * The format of output message.
2300
- * - `conjunction` (read: "and") - default
2301
- * - `disjunction` (read: "or")
2302
- * - `unit` (just a list)
2303
- */
2304
- type?: Intl.ListFormatType | undefined;
2305
- /**
2306
- * The length of the internationalized message.
2307
- * This obviously varies based on language, but in US English this maps to:
2308
- * - `long`: "a, b and c" - default
2309
- * - `short`: "a, b & c"
2310
- * - `narrow`: `a, b, c`
2311
- */
2312
- style?: Intl.ListFormatStyle | undefined;
2313
- }
2314
- /**
2315
- * Returns an instance of `Intl.ListFormat` that uses the currently selected locale,
2316
- * and enables language-sensitive list formatting.
2317
- *
2318
- * @param options - Optional options for the list formatter
2319
- * @returns Instance of `Intl.ListFormat`
2320
- * @public
2321
- */
2322
- declare function useListFormat(options?: UseListFormatOptions): Intl.ListFormat;
2323
2188
  interface ManageFavorite {
2324
2189
  favorite: () => void;
2325
2190
  unfavorite: () => void;
@@ -2357,42 +2222,6 @@ interface UseManageFavoriteProps extends DocumentHandle {
2357
2222
  * @internal
2358
2223
  */
2359
2224
  declare function useManageFavorite({ documentId, documentType, projectId, dataset, resourceId: paramResourceId, resourceType, schemaName }: UseManageFavoriteProps): ManageFavorite;
2360
- /**
2361
- * Options for the `useNumberFormat` hook
2362
- *
2363
- * @public
2364
- */
2365
- type UseNumberFormatOptions = Intl.NumberFormatOptions;
2366
- /**
2367
- * Returns an instance of `Intl.NumberFormat` that uses the currently selected locale,
2368
- * and enables locale/language-sensitive number formatting.
2369
- *
2370
- * @param options - Optional options for the number formatter
2371
- * @returns Instance of `Intl.NumberFormat`
2372
- * @public
2373
- */
2374
- declare function useNumberFormat(options?: UseNumberFormatOptions): Intl.NumberFormat;
2375
- /**
2376
- * React hook that returns the current project id
2377
- *
2378
- * @public
2379
- * @returns The current project id
2380
- * @example Using the `useProjectId` hook
2381
- * ```ts
2382
- * function MyComponent() {
2383
- * const projectId = useProjectId()
2384
- * // ... do something with the project id ...
2385
- * }
2386
- * ```
2387
- */
2388
- declare function useProjectId(): string;
2389
- /**
2390
- * Will show a toast telling the user that the Studio is offline and currently reconnecting
2391
- * @internal
2392
- * @hidden
2393
- * @param isReconnecting -
2394
- */
2395
- declare const useReconnectingToast: (isReconnecting: boolean) => void;
2396
2225
  interface ReferringDocumentsState<Doc> {
2397
2226
  isLoading: boolean;
2398
2227
  referringDocuments: Doc[];
@@ -2415,15 +2244,6 @@ type DocumentField = Exclude<keyof SanityDocument, number>;
2415
2244
  * @param fields - which root level fields to return for each document (defaults to _id and _type). Pass an empty array to return full documents
2416
2245
  */
2417
2246
  declare function useReferringDocuments<DocumentType extends SanityDocument>(id: string, fields?: DocumentField[]): ReferringDocumentsState<never> | ReferringDocumentsState<DocumentType>;
2418
- /** @internal */
2419
- interface RelativeTimeOptions {
2420
- minimal?: boolean;
2421
- useTemporalPhrase?: boolean;
2422
- relativeTo?: Date;
2423
- timeZone?: string;
2424
- }
2425
- /** @internal */
2426
- declare function useRelativeTime(time: Date | string, options?: RelativeTimeOptions): string;
2427
2247
  interface ReviewChangesContextValue extends ConnectorContextValue {
2428
2248
  /**
2429
2249
  * @deprecated use `isReviewChangesOpen` instead, this will be removed in the next major version
@@ -2448,30 +2268,6 @@ declare function useReviewChanges(): ReviewChangesContextValue;
2448
2268
  * ```
2449
2269
  */
2450
2270
  declare function useSchema(): Schema;
2451
- type StudioUrlBuilder = (url: string) => string;
2452
- type StudioUrlModifier = {
2453
- coreUi?: StudioUrlBuilder;
2454
- studio?: StudioUrlBuilder;
2455
- } & ({
2456
- coreUi: StudioUrlBuilder;
2457
- } | {
2458
- studio: StudioUrlBuilder;
2459
- });
2460
- interface UseStudioUrlReturnType {
2461
- studioUrl: string;
2462
- buildStudioUrl: (modifiers: StudioUrlModifier) => string;
2463
- buildIntentUrl: (intentLink: string) => string;
2464
- }
2465
- /**
2466
- * @internal
2467
- */
2468
- declare const useStudioUrl: (defaultUrl?: string) => UseStudioUrlReturnType;
2469
- /** @internal */
2470
- interface SyncState {
2471
- isSyncing: boolean;
2472
- }
2473
- /** @internal */
2474
- declare function useSyncState(publishedDocId: string, documentType: string, version?: string): SyncState;
2475
2271
  /**
2476
2272
  * An initial value template is a template that can be used to create a new documents.
2477
2273
  *
@@ -2710,68 +2506,12 @@ declare function resolveInitialObjectValue<Params extends Record<string, unknown
2710
2506
  * @beta
2711
2507
  */
2712
2508
  declare function useTemplates(): Template[];
2713
- /** @internal */
2714
- interface TimeAgoOpts {
2715
- minimal?: boolean;
2716
- agoSuffix?: boolean;
2717
- }
2718
- /**
2719
- * @deprecated - Use {@link useRelativeTime} instead
2720
- * @internal
2721
- */
2722
- declare function useTimeAgo(time: Date | string, options?: TimeAgoOpts): string;
2723
2509
  /**
2724
2510
  *
2725
2511
  * @hidden
2726
2512
  * @beta
2727
2513
  */
2728
2514
  declare function useTools(): Tool[];
2729
- /**
2730
- * Options for the `useUnitFormatter` hook
2731
- *
2732
- * @public
2733
- */
2734
- type UseUnitFormatterOptions = Pick<Intl.NumberFormatOptions, 'notation' | 'signDisplay' | 'unitDisplay' | 'maximumFractionDigits' | 'minimumFractionDigits'>;
2735
- /**
2736
- * Available measurement units
2737
- *
2738
- * @public
2739
- */
2740
- type FormattableMeasurementUnit = 'acre' | 'bit' | 'byte' | 'celsius' | 'centimeter' | 'day' | 'degree' | 'fahrenheit' | 'fluid-ounce' | 'foot' | 'gallon' | 'gigabit' | 'gigabyte' | 'gram' | 'hectare' | 'hour' | 'inch' | 'kilobit' | 'kilobyte' | 'kilogram' | 'kilometer' | 'liter' | 'megabit' | 'megabyte' | 'meter' | 'mile' | 'mile-scandinavian' | 'milliliter' | 'millimeter' | 'millisecond' | 'minute' | 'month' | 'ounce' | 'percent' | 'petabyte' | 'pound' | 'second' | 'stone' | 'terabit' | 'terabyte' | 'week' | 'yard' | 'year';
2741
- /**
2742
- * Formats a number using the specified unit, using the currently active locale.
2743
- *
2744
- * @param value - The number to format
2745
- * @param unit - The unit to format the number as
2746
- * @returns The formatted number
2747
- * @public
2748
- */
2749
- type UnitFormatter = (value: number, unit: FormattableMeasurementUnit) => string;
2750
- /**
2751
- * Returns a formatter with the given options. Function takes a number and the unit to format as
2752
- * the second argument. The formatter will yield localized output, based on the users' selected
2753
- * locale.
2754
- *
2755
- * This differs from regular `Intl.NumberFormat` in two ways:
2756
- * 1. You do not need to instantiate a new formatter for each unit you want to format
2757
- * (still happens behind the scenes, but is memoized)
2758
- * 2. The default unit display style (`unitDisplay`) is `long`
2759
- *
2760
- * @example
2761
- * ```ts
2762
- * function MyComponent() {
2763
- * const format = useUnitFormatter()
2764
- * return <div>{format(2313, 'meter')}</div>
2765
- * // en-US -> 2,313 meters
2766
- * // fr-FR -> 2 313 mètres
2767
- * }
2768
- * ```
2769
- *
2770
- * @param options - Optional options for the unit formatter
2771
- * @returns Formatter function
2772
- * @public
2773
- */
2774
- declare function useUnitFormatter(options?: UseUnitFormatterOptions): UnitFormatter;
2775
2515
  type Loadable$1<T> = {
2776
2516
  data: T | null;
2777
2517
  error: Error | null;
@@ -5244,50 +4984,6 @@ declare function defineLocalesResources<R extends Record<string, string>>(namesp
5244
4984
  declare function removeUndefinedLocaleResources<T extends {
5245
4985
  [key: string]: string | undefined;
5246
4986
  }>(resources: T): { [K in keyof T]: Exclude<T[K], undefined>; };
5247
- /**
5248
- * Enforces the shape of an object allowed to be passed into `useI18nText`.
5249
- * @internal
5250
- */
5251
- type I18nNode<TNode extends {
5252
- i18n?: { [TProp in string]: {
5253
- key: string;
5254
- ns: string;
5255
- }; };
5256
- }> = {
5257
- i18n?: { [K in keyof TNode['i18n']]: {
5258
- key: string;
5259
- ns: string;
5260
- }; };
5261
- } & { [K in keyof TNode['i18n']]: string; };
5262
- /**
5263
- * A React hook for localizing strings in a given object (`node`) using the
5264
- * `useTranslation` hook.
5265
- *
5266
- * This hook expects an object (`node`) with top-level keys associated with
5267
- * string values. If an `i18n` property is present within the object, it should
5268
- * contain localization configurations for each top-level key. Each
5269
- * configuration must include a `key` and `ns` (namespace) used for the
5270
- * translation of the corresponding string value.
5271
- *
5272
- * The hook uses a proxy to intercept access to properties of the `node`. For
5273
- * properties defined in the `i18n` object, it returns the translated string
5274
- * using the `t` function. If no translation is found, the original string value
5275
- * is used as a fallback. For properties not defined in the `i18n` object, their
5276
- * original values are returned.
5277
- *
5278
- * @param node - The object containing strings to be localized along with
5279
- * optional i18n configurations.
5280
- * @returns A proxy of the original `node` object where each property access
5281
- * returns localized strings.
5282
- * @internal
5283
- */
5284
- declare function useI18nText<TNode extends I18nNode<TNode>>(node: TNode): TNode;
5285
- /**
5286
- * Similar to `useI18nText` except returns a function that can be called
5287
- * conditionally.
5288
- * @internal
5289
- */
5290
- declare function useGetI18nText<TNode extends I18nNode<TNode>>(input: TNode | undefined | Array<TNode | undefined>): (node: TNode) => TNode;
5291
4987
  /**
5292
4988
  * Returns the currently active locale
5293
4989
  *
@@ -5521,11 +5217,6 @@ type Result = Pick<ReleasesReducerState, 'error' | 'state'> & {
5521
5217
  * @internal
5522
5218
  */
5523
5219
  declare function useVersionRelease(documentId: string | undefined): Result;
5524
- /**
5525
- * @alpha
5526
- * Return the schema id for the current workspace
5527
- */
5528
- declare const useWorkspaceSchemaId: () => string;
5529
5220
  interface CommentsAuthoringPathProviderProps {
5530
5221
  children: ReactNode;
5531
5222
  }
@@ -5540,14 +5231,6 @@ interface CommentsAuthoringPathProviderProps {
5540
5231
  * while reconnecting.
5541
5232
  */
5542
5233
  declare function CommentsAuthoringPathProvider(props: CommentsAuthoringPathProviderProps): import("react").JSX.Element;
5543
- /**
5544
- * @beta
5545
- * @hidden
5546
- */
5547
- interface CommentsAuthoringPathContextValue {
5548
- setAuthoringPath: (nextAuthoringPath: string | null) => void;
5549
- authoringPath: string | null;
5550
- }
5551
5234
  /**
5552
5235
  * @beta
5553
5236
  * @hidden
@@ -5924,55 +5607,6 @@ type WorkspaceAuthStates = Record<string, AuthState | undefined>;
5924
5607
  declare function ConfigErrorGate({ children }: {
5925
5608
  children: ReactNode;
5926
5609
  }): ReactNode;
5927
- interface CorsOriginErrorScreenProps {
5928
- projectId?: string;
5929
- isStaging: boolean;
5930
- /**
5931
- * The project ID of the first workspace in the Studio config.
5932
- * Used to show the "Register Studio" option when it matches the CORS error's project ID.
5933
- */
5934
- primaryProjectId?: string;
5935
- /**
5936
- * The origin to register / add as a CORS entry. Passed in (rather than
5937
- * read from `window` here) so the screen stays pure — the live flow
5938
- * passes `window.location.origin`, and the error playground can preview
5939
- * the screen for other origins (e.g. a custom domain, which shows the
5940
- * "Register Studio" option that a localhost dev origin does not).
5941
- */
5942
- origin: string;
5943
- /**
5944
- * Mirrors `/check/cors`'s `result.allowed` — whether the origin is in
5945
- * the project's CORS allowlist.
5946
- */
5947
- allowed?: boolean;
5948
- /**
5949
- * Mirrors `/check/cors`'s `result.withCredentials` — whether the
5950
- * allowlist entry permits credentialed requests. When `allowed: true`
5951
- * and `withCredentials: false`, the screen shows the "re-add with
5952
- * credentials" branch.
5953
- */
5954
- withCredentials?: boolean;
5955
- }
5956
- /** @internal */
5957
- declare function CorsOriginErrorScreen(props: CorsOriginErrorScreenProps): import("react").JSX.Element;
5958
- /** @internal */
5959
- interface WorkspaceLike {
5960
- name?: string;
5961
- title?: string;
5962
- basePath?: string;
5963
- }
5964
- /**
5965
- * Gets a printable identifer for the workspace - either the name, or the index
5966
- * and any potential title set for it
5967
- *
5968
- * @param workspace - The workspace to get the indentifier for
5969
- * @param index - The index at which the workspace appeared in the source array
5970
- * @returns Printable string (eg `intranet`, or `at index 5 (titled "Intranet")`)
5971
- * @internal
5972
- */
5973
- declare function getWorkspaceIdentifier({ name, title }: WorkspaceLike, index: number): string;
5974
- /** @internal */
5975
- declare function getNamelessWorkspaceIdentifier(title: string | undefined, index: number): string;
5976
5610
  /** @internal */
5977
5611
  interface VisibleWorkspacesContextValue {
5978
5612
  visibleWorkspaces: WorkspaceSummary[];
@@ -5999,36 +5633,6 @@ declare function useVisibleWorkspaces(): VisibleWorkspacesContextValue;
5999
5633
  /** @internal */
6000
5634
  declare function useWorkspaces(): WorkspaceSummary[];
6001
5635
  /** @internal */
6002
- interface ValidateWorkspaceOptions {
6003
- workspaces: WorkspaceLike[];
6004
- }
6005
- /**
6006
- * Validates workspace configuration, throwing if:
6007
- *
6008
- * - Workspaces do not all have base paths and names (if multiple given)
6009
- * - Base paths or names are invalid
6010
- * - Base paths or names are not unique
6011
- *
6012
- * @internal
6013
- */
6014
- declare function validateWorkspaces({ workspaces }: ValidateWorkspaceOptions): void;
6015
- /**
6016
- * Validates the workspace names of every workspace
6017
- * Only exported for testing purposes
6018
- *
6019
- * @param workspaces - An array of workspaces
6020
- * @internal
6021
- */
6022
- declare function validateNames(workspaces: WorkspaceLike[]): void;
6023
- /**
6024
- * Validates the base paths of every workspace
6025
- * Only exported for testing purposes
6026
- *
6027
- * @param workspaces - An array of workspaces
6028
- * @internal
6029
- */
6030
- declare function validateBasePaths(workspaces: WorkspaceLike[]): void;
6031
- /** @internal */
6032
5636
  type WorkspacesContextValue = WorkspaceSummary[];
6033
5637
  /** @internal */
6034
5638
  type NormalizedWorkspace = {
@@ -6072,16 +5676,6 @@ type MatchWorkspaceResult = {
6072
5676
  declare function matchWorkspace({ pathname, workspaces, basePathRegex, workspaceAuthStates }: MatchWorkspaceOptions): MatchWorkspaceResult;
6073
5677
  /** @internal */
6074
5678
  declare function useActiveWorkspace(): ActiveWorkspaceMatcherContextValue;
6075
- interface AddonDatasetSetupProviderProps {
6076
- children: React.ReactNode;
6077
- }
6078
- /**
6079
- * This provider sets the addon dataset client, currently called `comments` dataset.
6080
- * It also exposes a `createAddonDataset` function that can be used to create the addon dataset if it does not exist.
6081
- * @beta
6082
- * @hidden
6083
- */
6084
- declare function AddonDatasetProvider(props: AddonDatasetSetupProviderProps): string | number | bigint | boolean | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | Iterable<import("react").ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined> | null | undefined;
6085
5679
  /**
6086
5680
  * @beta
6087
5681
  * @hidden
@@ -6218,20 +5812,6 @@ interface ColorSchemeOption {
6218
5812
  * @internal
6219
5813
  */
6220
5814
  declare function useColorSchemeOptions(setScheme: (nextScheme: StudioThemeColorSchemeKey) => void, t: TFunction$1<'studio'>): ColorSchemeOption[];
6221
- /**
6222
- * @internal
6223
- */
6224
- declare function Filters({ showTypeFilter }: {
6225
- showTypeFilter?: boolean;
6226
- }): import("react").JSX.Element;
6227
- interface SearchHeaderProps {
6228
- ariaInputLabel?: string;
6229
- onClose?: () => void;
6230
- }
6231
- /**
6232
- * @internal
6233
- */
6234
- declare const SearchHeader: import("react").ForwardRefExoticComponent<SearchHeaderProps & import("react").RefAttributes<HTMLInputElement>>;
6235
5815
  type ItemSelectHandler = (item: Pick<SanityDocumentLike, '_id' | '_type' | 'title'>) => void;
6236
5816
  /**
6237
5817
  * @internal
@@ -6461,15 +6041,6 @@ type SearchSort = {
6461
6041
  * @internal
6462
6042
  */
6463
6043
  declare const getSearchableTypes: (schema: Schema, explicitlyAllowedTypes?: string[]) => ObjectSchemaType[];
6464
- /**
6465
- * Check if a perspective is 'raw'
6466
- *
6467
- * @param perspective - the list with perspective ids or a simple perspective id
6468
- * @returns true if the perspective is 'raw'
6469
- * @deprecated – use perspective === 'raw' instead
6470
- * @internal
6471
- */
6472
- declare function isPerspectiveRaw(perspective: string[] | string | undefined): boolean;
6473
6044
  /** @internal */
6474
6045
  declare const createSearch: SearchStrategyFactory<WeightedSearchResults | Groq2024SearchResults>;
6475
6046
  /**
@@ -6909,22 +6480,6 @@ interface PartialIndexSettings {
6909
6480
  * @hidden
6910
6481
  */
6911
6482
  declare function useSearchMaxFieldDepth(overrideClient?: SanityClient): number;
6912
- interface SearchButtonProps {
6913
- onClick: () => void;
6914
- }
6915
- /**
6916
- * @internal
6917
- */
6918
- declare const SearchButton: import("react").ForwardRefExoticComponent<SearchButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
6919
- interface SearchDialogProps {
6920
- onClose: () => void;
6921
- onOpen: () => void;
6922
- open: boolean;
6923
- }
6924
- /**
6925
- * @internal
6926
- */
6927
- declare function SearchDialog({ onClose, onOpen, open }: SearchDialogProps): import("react").JSX.Element;
6928
6483
  /**
6929
6484
  * @hidden
6930
6485
  * @beta */
@@ -7299,13 +6854,6 @@ interface GenerateStudioManifestOptions<W extends ManifestWorkspaceInput> {
7299
6854
  * @internal
7300
6855
  */
7301
6856
  declare function generateStudioManifest<W extends ManifestWorkspaceInput>(options: GenerateStudioManifestOptions<W>): Promise<StudioManifest>;
7302
- /**
7303
- * Provider that automatically uploads the studio manifest when the Studio loads.
7304
- * This runs once when all workspaces are available and includes all workspace information.
7305
- *
7306
- * @internal
7307
- */
7308
- declare function LiveManifestRegisterProvider(): null;
7309
6857
  /**
7310
6858
  * Uploads the schema to Content Lake, returning a schema descriptor ID.
7311
6859
  * @internal
@@ -7650,20 +7198,6 @@ interface StudioProps {
7650
7198
  * @hidden
7651
7199
  * @beta */
7652
7200
  declare function Studio(props: StudioProps): React.JSX.Element;
7653
- interface StudioAnnouncementCardProps {
7654
- title: string;
7655
- id: string;
7656
- name: string;
7657
- isOpen: boolean;
7658
- preHeader: string;
7659
- onCardClick: () => void;
7660
- onCardDismiss: () => void;
7661
- }
7662
- /**
7663
- * @internal
7664
- * @hidden
7665
- */
7666
- declare function StudioAnnouncementsCard({ title, id, isOpen, name, preHeader, onCardClick, onCardDismiss }: StudioAnnouncementCardProps): import("react").JSX.Element;
7667
7201
  declare const audienceRoles: readonly ['administrator', 'editor', 'viewer', 'contributor', 'developer', 'custom'];
7668
7202
  type AudienceRole = (typeof audienceRoles)[number];
7669
7203
  interface StudioAnnouncementDocument {
@@ -7713,41 +7247,6 @@ declare function isValidAnnouncementAudience(document: {
7713
7247
  * @hidden
7714
7248
  */
7715
7249
  declare function isValidAnnouncementRole(audience: StudioAnnouncementDocument['audienceRole'] | undefined, userRoles: Role[] | undefined): boolean;
7716
- /** @internal */
7717
- interface NavbarContextValue {
7718
- onSearchFullscreenOpenChange: (open: boolean) => void;
7719
- onSearchOpenChange: (open: boolean) => void;
7720
- searchFullscreenOpen: boolean;
7721
- searchFullscreenPortalEl: HTMLElement | null;
7722
- searchOpen: boolean;
7723
- }
7724
- /**
7725
- * The Studio Layout component is the root component of the Sanity Studio UI.
7726
- * It renders the navbar, the active tool, and the search modal as well as the error boundary.
7727
- *
7728
- * @public
7729
- * @returns A Studio Layout element that renders the navbar, the active tool, and the search modal as well as the error boundary
7730
- * @remarks This component should be used as a child component to the StudioProvider
7731
- * @example Rendering a Studio Layout
7732
- * ```ts
7733
- * <StudioProvider
7734
- * basePath={basePath}
7735
- * config={config}
7736
- * onSchemeChange={onSchemeChange}
7737
- * scheme={scheme}
7738
- * unstable_history={unstable_history}
7739
- * unstable_noAuthBoundary={unstable_noAuthBoundary}
7740
- * >
7741
- * <StudioLayout />
7742
- *</StudioProvider>
7743
- * ```
7744
- */
7745
- declare function StudioLayout(): import("react").JSX.Element;
7746
- /**
7747
- * @internal
7748
- * The default Studio Layout component
7749
- * */
7750
- declare function StudioLayoutComponent(): import("react").JSX.Element;
7751
7250
  /**
7752
7251
  * @hidden
7753
7252
  * @beta */
@@ -7811,22 +7310,6 @@ declare function WorkspaceProvider({ children, workspace }: WorkspaceProviderPro
7811
7310
  * @hidden
7812
7311
  * @beta */
7813
7312
  declare function useWorkspace(): Workspace;
7814
- /**
7815
- * @internal
7816
- */
7817
- interface ErrorMessageProps {
7818
- message: string;
7819
- stack?: string;
7820
- error: unknown;
7821
- path: Array<{
7822
- name: string;
7823
- type: string;
7824
- }>;
7825
- }
7826
- /**
7827
- * @internal
7828
- */
7829
- declare function ErrorMessage({ error, message, path, stack }: ErrorMessageProps): import("react").JSX.Element;
7830
7313
  interface WorkspaceLoaderProps {
7831
7314
  children: ReactNode;
7832
7315
  ConfigErrorsComponent: ComponentType;
@@ -7979,17 +7462,6 @@ interface CommentInputContextValue {
7979
7462
  readOnly: boolean;
7980
7463
  value: CommentMessage;
7981
7464
  }
7982
- interface CommentInlineHighlightSpanProps {
7983
- children: React.ReactNode;
7984
- isAdded?: boolean;
7985
- isAuthoring?: boolean;
7986
- isHovered?: boolean;
7987
- isNested?: boolean;
7988
- }
7989
- /**
7990
- * @internal
7991
- */
7992
- declare const CommentInlineHighlightSpan: import("react").ForwardRefExoticComponent<Omit<CommentInlineHighlightSpanProps & import("react").HTMLProps<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
7993
7465
  /**
7994
7466
  * @internal
7995
7467
  * @hidden
@@ -8171,12 +7643,6 @@ interface ScrollContainerProps<T extends ElementType> extends Omit<HTMLProps<T>,
8171
7643
  * @internal
8172
7644
  */
8173
7645
  declare const ScrollContainer: import("react").NamedExoticComponent<Omit<ScrollContainerProps<ElementType>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
8174
- /** @internal */
8175
- type ScrollEventHandler = (event: Event) => void;
8176
- /** @internal */
8177
- interface ScrollContextValue {
8178
- onScroll?: ScrollEventHandler;
8179
- }
8180
7646
  declare const DocumentGroupInventoryAction: ComponentType<PropsWithChildren<{
8181
7647
  documentId: string;
8182
7648
  portalElementName: string;
@@ -8296,10 +7762,6 @@ interface DocumentGroupInventoryProps {
8296
7762
  */
8297
7763
  declare const DocumentGroupInventory: ComponentType<DocumentGroupInventoryProps>;
8298
7764
  /** @internal */
8299
- declare const isDev: boolean;
8300
- /** @internal */
8301
- declare const isProd: boolean;
8302
- /** @internal */
8303
7765
  declare function StudioFeedbackProvider({ children }: {
8304
7766
  children: ReactNode;
8305
7767
  }): import("react").JSX.Element;
@@ -8314,50 +7776,6 @@ type ConsentStatus = 'loading' | 'granted' | 'denied';
8314
7776
  */
8315
7777
  declare function useTelemetryConsent(): ConsentStatus;
8316
7778
  /** @internal */
8317
- interface FeedbackDialogProps {
8318
- onClose: () => void;
8319
- /** Sentry DSN to send feedback to.
8320
- * Format: `https://[key]@[host]/[project-id]`
8321
- */
8322
- dsn: string;
8323
- /** Tracks the tag schema for this feedback source. Bump when tags or larger changes are made.
8324
- * Similar to version in telemetry consent.
8325
- */
8326
- feedbackVersion: string;
8327
- /** Identifies where this feedback was triggered from (e.g. 'studio-help-menu'). */
8328
- source: string;
8329
- /** Extra tags merged with base + dynamic tags. Can override defaults. */
8330
- extraTags?: Record<string, string | number | boolean>;
8331
- /** Override the dialog title. */
8332
- title?: string;
8333
- /** Override the sentiment question (e.g., 'How easy or difficult is PTE to use?'). */
8334
- sentimentLabel?: string;
8335
- /** User's name. Overrides the value from FeedbackContext when provided. */
8336
- userName?: string;
8337
- /** User's email. Overrides the value from FeedbackContext when provided. */
8338
- userEmail?: string;
8339
- /** Called after feedback is submitted successfully. */
8340
- onSuccess?: () => void;
8341
- /** Called when feedback submission fails. */
8342
- onError?: (error: Error) => void;
8343
- }
8344
- /** @internal */
8345
- declare function FeedbackDialog(props: FeedbackDialogProps): import("react").JSX.Element;
8346
- /** @internal */
8347
- type StudioFeedbackDialogProps = Omit<FeedbackDialogProps, 'onSuccess' | 'onError'>;
8348
- /**
8349
- * Studio-aware wrapper around {@link FeedbackDialog}.
8350
- *
8351
- * Wraps the dialog with a {@link StudioFeedbackProvider} so that
8352
- * telemetry consent, user info, and studio tags are supplied
8353
- * automatically from studio context hooks.
8354
- *
8355
- * Shows toast notifications on success/error via the studio's ToastProvider.
8356
- *
8357
- * @internal
8358
- */
8359
- declare function StudioFeedbackDialog(props: StudioFeedbackDialogProps): import("react").JSX.Element;
8360
- /** @internal */
8361
7779
  type Sentiment = 'happy' | 'neutral' | 'unhappy';
8362
7780
  /** Tags that are always sent regardless of where the dialog is used. */
8363
7781
  interface BaseFeedbackTags {
@@ -9072,12 +8490,6 @@ interface ChangeResolverProps {
9072
8490
  }
9073
8491
  /** @internal */
9074
8492
  declare function ChangeResolver(props: ChangeResolverProps): import("react").JSX.Element | null;
9075
- /**
9076
- * @internal
9077
- * */
9078
- declare function ChangesError({ error }: {
9079
- error?: Error | null;
9080
- }): import("react").JSX.Element;
9081
8493
  /** @internal */
9082
8494
  declare function ChangeTitleSegment(props: {
9083
8495
  change?: FieldChangeNode;
@@ -9217,22 +8629,9 @@ interface MetaInfoProps {
9217
8629
  /** @internal */
9218
8630
  declare function MetaInfo(props: MetaInfoProps): import("react").JSX.Element;
9219
8631
  /** @internal */
9220
- declare function NoChanges(): import("react").JSX.Element;
9221
- /** @internal */
9222
8632
  declare const RevertChangesButton: import("react").ForwardRefExoticComponent<Omit<ButtonProps$1, "tooltipProps"> & Omit<HTMLProps<HTMLButtonElement>, "ref"> & {
9223
8633
  changeCount: number;
9224
8634
  } & import("react").RefAttributes<HTMLButtonElement>>;
9225
- interface RevertChangesConfirmDialogProps {
9226
- open: boolean;
9227
- onConfirm: () => void;
9228
- onCancel: () => void;
9229
- changeCount: number;
9230
- referenceElement: HTMLElement | null;
9231
- }
9232
- /**
9233
- * @internal
9234
- */
9235
- declare function RevertChangesConfirmDialog({ open, onConfirm, onCancel, changeCount, referenceElement }: RevertChangesConfirmDialogProps): import("react").JSX.Element;
9236
8635
  /** @internal */
9237
8636
  declare function ValueError({ error }: {
9238
8637
  error: FieldValueError;
@@ -9318,8 +8717,6 @@ declare function getItemKey(arrayItem: unknown): string | undefined;
9318
8717
  declare function getItemKeySegment(arrayItem: unknown): KeyedSegment | undefined;
9319
8718
  /** @internal */
9320
8719
  declare function isEmptyObject(item: unknown): boolean;
9321
- /** @internal */
9322
- type FIXME = any;
9323
8720
  /**
9324
8721
  * Resolves the sticky variant short id to a variant definition.
9325
8722
  * Returns undefined while loading (empty byId) or when the variant does not exist.
@@ -9370,24 +8767,6 @@ declare function PerspectiveProvider({ children, selectedPerspectiveName, select
9370
8767
  selectedVariantName?: string;
9371
8768
  excludedPerspectives?: string[];
9372
8769
  }): import("react").JSX.Element;
9373
- interface ExcludedPerspectiveValue {
9374
- excludedPerspectives: string[];
9375
- toggleExcludedPerspective: (perspectiveId: string) => void;
9376
- isPerspectiveExcluded: (perspectiveId: string) => boolean;
9377
- }
9378
- /**
9379
- * Gets the excluded perspectives.
9380
- * @internal
9381
- */
9382
- declare function useExcludedPerspective(): ExcludedPerspectiveValue;
9383
- /**
9384
- * @beta
9385
- * Exposes the default perspective based on the draft model enabled status.
9386
- * If the user hasn't opt out from draft, the default perspective is `drafts`
9387
- * Otherwise, the default perspective is `published`
9388
- * @returns The default perspective based on the draft model enabled status.
9389
- */
9390
- declare function useGetDefaultPerspective(): 'drafts' | 'published';
9391
8770
  /**
9392
8771
  * @beta
9393
8772
  *
@@ -9746,11 +9125,6 @@ declare function useScheduledDraftDocument(releaseDocumentId: string | undefined
9746
9125
  error: Error | null;
9747
9126
  previewLoading: boolean;
9748
9127
  };
9749
- /**
9750
- * @internal
9751
- * @returns boolean indicating if the scheduled drafts feature is enabled
9752
- */
9753
- declare function useScheduledDraftsEnabled(): boolean;
9754
9128
  /**
9755
9129
  * Unless otherwise specified, this is the API version we use for controlled
9756
9130
  * requests on internal studio APIs. The user should always ask for a specific
@@ -10013,32 +9387,6 @@ type ReactHook<TArgs, TResult> = (args: TArgs) => TResult;
10013
9387
  declare function createHookFromObservableFactory<T, TArg = void>(observableFactory: (arg: TArg) => Observable<T>, initialValue: T): ReactHook<TArg, LoadingTuple<T>>;
10014
9388
  /** @internal */
10015
9389
  declare function createHookFromObservableFactory<T, TArg = void>(observableFactory: (arg: TArg) => Observable<T>, initialValue?: T): ReactHook<TArg, LoadingTuple<T | undefined>>;
10016
- /** @internal */
10017
- declare const EMPTY_OBJECT: Record<string, unknown>;
10018
- /** @internal */
10019
- declare const EMPTY_ARRAY: never[];
10020
- type DateInput$1 = Date | number | string;
10021
- /**
10022
- * Renders `date` relative to `baseDate` in `timeZone`. Replaces date-fns's en-US
10023
- * `MM/dd/yyyy` fallback (used for dates more than ~6 days out) with the browser's
10024
- * locale date format, so non-en-US users don't see American-style dates.
10025
- *
10026
- * `timeZone` defaults to the host runtime's TZ. Pass an explicit IANA zone for
10027
- * non-browser contexts or to render in the user's selected studio timezone (e.g.
10028
- * via a hook that wraps `useTimeZone`).
10029
- *
10030
- * @internal
10031
- */
10032
- declare const formatRelativeLocale: (date: DateInput$1, baseDate: DateInput$1, timeZone?: string) => string;
10033
- /**
10034
- * Safely extracts an error message from an unknown value that was thrown.
10035
- * JavaScript allows throwing any value, not just Error instances.
10036
- *
10037
- * @param error - The unknown value that was thrown
10038
- * @returns A string representation of the error
10039
- * @internal
10040
- */
10041
- declare function getErrorMessage(error: unknown): string;
10042
9390
  /**
10043
9391
  * @beta
10044
9392
  * Given a document and a reference ID, returns the paths in which the reference is used within the document.
@@ -10089,34 +9437,6 @@ declare function getVariantPublishedSibling({ documentVersions, variant }: {
10089
9437
  variant: string;
10090
9438
  documentVersions: DocumentPerspectiveState['versions'];
10091
9439
  }): VersionInfoDocumentStub | undefined;
10092
- interface GlobalErrorChannelEvent {
10093
- type: 'error' | 'rejection';
10094
- error?: unknown;
10095
- lineno?: number;
10096
- colno?: number;
10097
- filename?: string;
10098
- }
10099
- interface GlobalErrorChannel {
10100
- subscribe: (callback: (event: GlobalErrorChannelEvent) => void) => () => void;
10101
- }
10102
- /** @internal */
10103
- declare const globalScope: typeof globalThis & {
10104
- __sanityErrorChannel?: GlobalErrorChannel;
10105
- };
10106
- /** @internal */
10107
- declare function isArray(value: unknown): value is unknown[];
10108
- /**
10109
- * @internal
10110
- */
10111
- declare function isNonNullable<T>(value: T): value is NonNullable<T>;
10112
- /**
10113
- * @internal
10114
- */
10115
- declare function isRecord(value: unknown): value is Record<string, unknown>;
10116
- /** @internal */
10117
- declare function isString(value: unknown): value is string;
10118
- /** @internal */
10119
- declare function isTruthy<T>(value: T | false): value is T;
10120
9440
  /** @internal */
10121
9441
  type PartialExcept<T, K extends keyof T> = Pick<T, K> & Partial<Omit<T, K>>;
10122
9442
  /**
@@ -10172,47 +9492,6 @@ declare function _isCustomDocumentTypeDefinition(def: SchemaTypeDefinition): def
10172
9492
  * @internal
10173
9493
  */
10174
9494
  declare function _isType(schemaType: SchemaType, typeName: string): boolean;
10175
- type SearchPathSegment = string | number | [];
10176
- /** @internal */
10177
- declare const fieldNeedsEscape: (fieldName: string) => boolean;
10178
- /** @internal */
10179
- declare const escapeField: (fieldName: string) => string;
10180
- /** @internal */
10181
- declare const joinPath: (pathArray: SearchPathSegment[]) => string;
10182
- /** @internal */
10183
- declare const supportsTouch: boolean;
10184
- /** @internal */
10185
- declare const uncaughtErrorHandler: () => string;
10186
- /**
10187
- * Truncates a string to a given length, taking into account surrogate pairs and grapheme clusters
10188
- * (using zero-width joiners). This means the resulting string may be longer in number of bytes,
10189
- * but will be shorter in number of "characters". Should only be used for display purposes -
10190
- * not for truncating strings for storage or similar.
10191
- *
10192
- * Examples of differences between `String.prototype.slice` and this function:
10193
- *
10194
- * - '👨‍👨‍👧‍👧'.slice(0, 1) === '�' vs sliceString('👨‍👨‍👧‍👧', 0, 1) === '👨‍👨‍👧‍👧'
10195
- * - '👨‍👨‍👧‍👧'.slice(0, 2) === '👨' vs sliceString('👨‍👨‍👧‍👧', 0, 2) === '👨‍👨‍👧‍👧'
10196
- *
10197
- * @param str - String to slice
10198
- * @param start - Start index
10199
- * @param end - End index (exclusive)
10200
- * @returns The sliced string
10201
- * @internal
10202
- */
10203
- declare function sliceString(str: string, start: number, end: number): string;
10204
- /**
10205
- * Truncates a string to a given length, taking into account surrogate pairs and grapheme clusters
10206
- * (using zero-width joiners). This means the resulting string may be longer in number of bytes,
10207
- * but will be shorter in number of "characters". Should only be used for display purposes -
10208
- * not for truncating strings for storage or similar.
10209
- *
10210
- * @param str - String to truncate
10211
- * @param maxLength - Maximum length in "characters"
10212
- * @returns The truncated string
10213
- * @internal
10214
- */
10215
- declare function truncateString(str: string, maxLength: number): string;
10216
9495
  /** @internal */
10217
9496
  type LoadableState<T> = LoadingState | LoadedState<T> | ErrorState;
10218
9497
  /** @internal */
@@ -10282,14 +9561,6 @@ declare function userHasRole(user: (Omit<CurrentUser, 'role'> & {
10282
9561
  * ```
10283
9562
  */
10284
9563
  declare function useThrottledCallback(callback: (...args: any[]) => any, wait: number, options: ThrottleSettings): (...args: any[]) => any;
10285
- /**
10286
- * This React hook should be considered an escape hatch – to make sure that a value is the same
10287
- * on every render. SHOULD NOT BE USED IN MOST CASES.
10288
- * @deprecated please use `useMemo` and `useCallback` strategies instead to make deps stable, this hook runs comparisons on every single render and while each comparison can be fast, it quickly adds up
10289
- *
10290
- * @internal
10291
- */
10292
- declare function useUnique<ValueType>(value: ValueType): ValueType;
10293
9564
  type VariantConstraint = {
10294
9565
  /**
10295
9566
  * Match only the provided variant id.
@@ -10410,34 +9681,6 @@ declare function useVariantDocumentOperations(): {
10410
9681
  * @internal
10411
9682
  */
10412
9683
  declare function getVariantTitle(variant: SystemVariant): string;
10413
- /**
10414
- * @hidden
10415
- * @beta
10416
- */
10417
- declare const SANITY_VERSION: string;
10418
- interface CompanionDoc {
10419
- _id: string;
10420
- canvasDocumentId: string;
10421
- studioDocumentId: string;
10422
- isStudioDocumentEditable?: boolean;
10423
- }
10424
- /**
10425
- * Given a document id, returns whether it is linked to canvas and the companion doc if it exists.
10426
- * @beta
10427
- */
10428
- declare const useCanvasCompanionDoc: (documentId: string) => {
10429
- isLinked: boolean;
10430
- isLockedByCanvas: boolean;
10431
- companionDoc: CompanionDoc | undefined;
10432
- loading: boolean | undefined;
10433
- };
10434
- type OpenCanvasOrigin = 'action' | 'banner';
10435
- /**
10436
- *
10437
- * @hidden
10438
- * @internal
10439
- */
10440
- declare const useNavigateToCanvasDoc: (canvasDocId: string | undefined, origin: OpenCanvasOrigin) => () => void;
10441
9684
  /**
10442
9685
  * @internal
10443
9686
  */
@@ -11212,10 +10455,6 @@ declare function useDivergenceNavigator({ divergences, schemaType, formState }:
11212
10455
  * @internal
11213
10456
  */
11214
10457
  declare const useDocumentLimitsUpsellContext: () => DocumentLimitUpsellContextValue;
11215
- /**
11216
- * @internal
11217
- */
11218
- declare const isDocumentLimitError: (error: unknown) => boolean;
11219
10458
  /**
11220
10459
  * @internal
11221
10460
  */
@@ -11838,16 +11077,6 @@ interface TemplatePreviewProps {
11838
11077
  * @hidden
11839
11078
  * @beta */
11840
11079
  declare function TemplatePreview(props: TemplatePreviewProps): import("react").JSX.Element;
11841
- /**
11842
- * @internal
11843
- */
11844
- interface RelativeTimeProps extends RelativeTimeOptions {
11845
- time: string | Date;
11846
- }
11847
- /**
11848
- * @internal
11849
- */
11850
- declare function RelativeTime({ time, ...options }: RelativeTimeProps): import("react").JSX.Element;
11851
11080
  interface ResizableProps {
11852
11081
  minWidth: number;
11853
11082
  maxWidth: number;
@@ -11879,10 +11108,6 @@ type TextWithToneProps = TextProps & {
11879
11108
  /** @internal */
11880
11109
  declare const TextWithTone: import("react").ForwardRefExoticComponent<Omit<TextWithToneProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
11881
11110
  /** @internal */
11882
- declare const TooltipOfDisabled: import("react").ForwardRefExoticComponent<Omit<import("@sanity/ui").TooltipProps, "arrow" | "padding" | "shadow"> & {
11883
- hotkeys?: import("@sanity/ui").HotkeysProps['keys'];
11884
- } & import("react").RefAttributes<HTMLDivElement>>;
11885
- /** @internal */
11886
11111
  interface ToastParams$1 {
11887
11112
  closable?: boolean;
11888
11113
  description?: ReactNode;
@@ -11989,12 +11214,6 @@ declare function WithReferringDocuments({ children, id }: {
11989
11214
  documentStore?: DocumentStore;
11990
11215
  id: string;
11991
11216
  }): import("react").JSX.Element;
11992
- /**
11993
- * TODO: Rename to `useZOffsets`
11994
- *
11995
- * @internal
11996
- */
11997
- declare function useZIndex(): ZIndexContextValue;
11998
11217
  /**
11999
11218
  * TODO: Rename to `ZOffsetsProvider`
12000
11219
  *
@@ -15251,13 +14470,6 @@ interface DocumentStoreOptions {
15251
14470
  /** @internal */
15252
14471
  declare function createDocumentStore({ getClient, documentPreviewStore, historyStore, initialValueTemplates, schema, i18n, extraOptions, currentUser }: DocumentStoreOptions): DocumentStore;
15253
14472
  /** @internal */
15254
- interface DocumentTypeResolveState {
15255
- isLoaded: boolean;
15256
- documentType: string | undefined;
15257
- }
15258
- /** @internal */
15259
- declare function useDocumentType(documentId: string, specifiedType?: string): DocumentTypeResolveState;
15260
- /** @internal */
15261
14473
  declare function useDocumentValues<T = Record<string, unknown>>(documentId: string, paths: string[]): LoadableState<T | undefined>;
15262
14474
  /**
15263
14475
  * Determine whether the document represented by the provided `EditState` object has any existing
@@ -16041,23 +15253,6 @@ interface FormFieldValidationStatusProps {
16041
15253
  /** @internal */
16042
15254
  declare function FormFieldValidationStatus(props: FormFieldValidationStatusProps): import("react").JSX.Element;
16043
15255
  /** @internal */
16044
- interface FormFieldValidationWarning {
16045
- type: 'warning';
16046
- label: string;
16047
- }
16048
- /** @internal */
16049
- interface FormFieldValidationError {
16050
- type: 'error';
16051
- label: string;
16052
- }
16053
- /** @internal */
16054
- interface FormFieldValidationInfo {
16055
- type: 'info';
16056
- label: string;
16057
- }
16058
- /** @internal */
16059
- type FormFieldValidation = FormFieldValidationWarning | FormFieldValidationError | FormFieldValidationInfo;
16060
- /** @internal */
16061
15256
  type FormInputAbsolutePathArg = {
16062
15257
  absolutePath: Path;
16063
15258
  };
@@ -16089,10 +15284,6 @@ interface Props$2 {
16089
15284
  * @internal
16090
15285
  */
16091
15286
  declare const FormCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Props$2>> & string;
16092
- /**
16093
- * @internal
16094
- */
16095
- declare const FormContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
16096
15287
  interface PropsEnabled extends PropsWithChildren {
16097
15288
  enabled: true;
16098
15289
  formState: FormState;
@@ -16277,26 +15468,6 @@ interface FormBuilderContextValue {
16277
15468
  renderPreview: RenderPreviewCallback;
16278
15469
  schemaType: ObjectSchemaType;
16279
15470
  }
16280
- /**
16281
- * A hook for doing side effects as a response to a change in a hook value between renders
16282
- *
16283
- * @example
16284
- * ```ts
16285
- * useDidUpdate(hasFocus, (hadFocus, hasFocus) => {
16286
- * if (hasFocus) {
16287
- * scrollIntoView(elementRef.current)
16288
- * }
16289
- * })
16290
- * ```
16291
- *
16292
- * @beta
16293
- * @hidden
16294
- */
16295
- declare function useDidUpdate<T>(
16296
- /** The value you want to respond to changes in. */
16297
- current: T,
16298
- /** Callback to run when the value changes. */
16299
- didUpdate: (previous: T | undefined, current: T) => void, compare?: (previous: T | undefined, current: T) => boolean): void;
16300
15471
  /**
16301
15472
  * @hidden
16302
15473
  * @beta */
@@ -16458,28 +15629,6 @@ type DateTimeInputProps = StringInputProps;
16458
15629
  * @hidden
16459
15630
  * @beta */
16460
15631
  declare function DateTimeInput(props: DateTimeInputProps): import("react").JSX.Element;
16461
- interface CalendarLabels {
16462
- ariaLabel: string;
16463
- goToTomorrow: string;
16464
- goToToday: string;
16465
- goToYesterday: string;
16466
- goToPreviousYear: string;
16467
- goToNextYear: string;
16468
- goToPreviousMonth: string;
16469
- goToNextMonth: string;
16470
- selectTime: string;
16471
- setToCurrentTime: string;
16472
- tooltipText: string;
16473
- monthNames: MonthNames;
16474
- weekDayNamesShort: WeekDayNames;
16475
- setToTimePreset: (time: string, date: Date) => string;
16476
- }
16477
- type WeekDayNames = [mon: string, tue: string, wed: string, thu: string, fri: string, sat: string, sun: string];
16478
- type MonthNames = [jan: string, feb: string, mar: string, apr: string, may: string, jun: string, jul: string, aug: string, sep: string, oct: string, nov: string, dec: string];
16479
- /**
16480
- * @internal
16481
- */
16482
- declare function getCalendarLabels(t: (key: string, values?: Record<string, unknown>) => string): CalendarLabels;
16483
15632
  /**
16484
15633
  *
16485
15634
  * @hidden
@@ -18292,37 +17441,6 @@ declare function useMiddlewareComponents<T extends {}>(props: {
18292
17441
  pick: (plugin: PluginOptions) => ComponentType<T>;
18293
17442
  defaultComponent: ComponentType<T>;
18294
17443
  }): ComponentType<T>;
18295
- /** @internal */
18296
- interface ConfigPropertyErrorOptions {
18297
- propertyName: string;
18298
- path: string[];
18299
- cause: unknown;
18300
- }
18301
- /** @internal */
18302
- declare class ConfigPropertyError extends Error {
18303
- propertyName: string;
18304
- path: string[];
18305
- cause: unknown;
18306
- constructor({ propertyName, path, cause }: ConfigPropertyErrorOptions);
18307
- }
18308
- /** @internal */
18309
- interface ConfigResolutionErrorOptions {
18310
- name: string;
18311
- type: string;
18312
- causes: Array<ConfigResolutionError | Error | unknown>;
18313
- }
18314
- /** @internal */
18315
- declare class ConfigResolutionError extends Error {
18316
- name: string;
18317
- type: string;
18318
- causes: unknown[];
18319
- constructor({ causes, name, type }: ConfigResolutionErrorOptions);
18320
- }
18321
- /**
18322
- * Creates an icon element based on the input title
18323
- * @internal
18324
- */
18325
- declare function createDefaultIcon(title: string, subtitle: string): import("react").JSX.Element;
18326
17444
  /**
18327
17445
  * @hidden
18328
17446
  * @beta */
@@ -18451,4 +17569,4 @@ interface ActiveWorkspaceMatcherContextValue {
18451
17569
  activeWorkspace: WorkspaceSummary;
18452
17570
  setActiveWorkspace: (workspaceName: string) => void;
18453
17571
  }
18454
- export { NewDocumentCreationContext as $, useVersionOperations as $C, DocumentStoreExtraOptions as $S, HandleCallbackResult as $T, RequestErrorClassification as $_, DocumentVersionSnapshots as $a, useVersionRelease as $b, dec as $c, isVariantVersion as $d, useScheduledDraftsEnabled as $f, buildRangeDecorationSelectionsFromComments as $g, isScheduleDocumentVersionEvent as $h, TemplatePermissionsOptions as $i, IntentButton as $l, AnnotationDetails as $m, ArrayOfPrimitiveOptionsInput as $n, FormBuilderCustomMarkersComponent as $o, useDocumentChange as $p, FieldPresenceData as $r, BlockStyleProps as $s, useFormBuilder as $t, setAtPath as $u, SearchButton as $v, documentIdEquals as $w, RESOLVE_INITIAL_VALUE_TIMEOUT_MS as $x, MatchWorkspaceResult as $y, ComposableOption as A, useClient as AC, useManageFavorite as AS, CONNECTING as AT, UpsellDialogViewed as A_, QueryParams$1 as Aa, CommentIntentGetter as Ab, defaultRenderInput as Ac, IncompatibleTypeError as Ad, isArray as Af, FeedbackDialogProps as Ag, useEvents as Ah, useProject as Ai, BlockPreview as Al, DiffFromToProps as Am, SelectInput as An, CommitRequest as Ao, useSetPerspective as Ap, FormFieldValidation as Ar, PasteData$1 as As, DocumentInspectorProps as At, DEFAULT_ANNOTATIONS as Au, FormInsertPatchPosition as Av, VersionInlineBadge as Aw, LocaleResourceRecord as Ax, compileFieldPath as Ay, DocumentBadgesResolver as B, TrackerContextStore as BC, useFeatureEnabled as BS, isAuthStore as BT, StudioAnnouncementsContextValue as B_, InitialValueState as Ba, CommentTaskCreatePayload as Bb, useParseErrorForPath as Bc, getDocumentIdForCanvasLink as Bd, ReactHook as Bf, DocumentGroupInventoryAction as Bg, EventsStoreRevision as Bh, createPresenceStore as Bi, CompactPreviewProps as Bl, ChangeResolver as Bm, ImageUrlBuilder$1 as Bn, SanityDefaultPreview as Bo, findIndex as Bp, FormFieldHeaderText as Br, RenderInputCallback as Bs, DocumentFieldActionItem as Bt, useDocumentLimitsUpsellContext as Bu, ToolLinkProps as Bv, SelectedPerspective as Bw, UserListWithPermissionsHookValue as Bx, useColorScheme as By, ActionComponent as C, UseDateTimeFormatOptions as CC, DocumentField as CS, CommandListGetItemSelectedCallback as CT, WorkspaceProviderProps as C_, selectUpstreamVersion as Ca, CommentsEnabledProvider as Cb, FormProviderProps as Cc, ObjectFormNode as Cd, isCardinalityOneRelease as Cf, DynamicFeedbackTags as Cg, StringSegmentChanged$1 as Ch, useHistoryStore as Ci, Resizable as Cl, DiffTooltipProps as Cm, TelephoneInput as Cn, Pair as Co, DocumentActionProps as Cp, useDocumentDivergences as Cr, EditorChange as Cs, ReleaseActionDescription as Ct, PUBLISHED as Cu, PasteOptions as Cv, ObserveDocumentTypeFromIdFn as Cw, Locale as Cx, createSearch as Cy, AsyncConfigPropertyReducer as D, connectionState as DC, UseNumberFormatOptions as DS, CommandListRenderItemCallback as DT, UpsellDialogDismissed as D_, useDocumentType as Da, CommentCreatePayload as Db, defaultRenderBlock as Dc, ArrayItemError as Dd, isString as Df, StudioFeedbackDialog as Dg, getValueError as Dh, useRenderingContextStore as Di, TemplatePreviewProps as Dl, DiffInspectWrapper as Dm, StringInput as Dn, BufferedDocumentEvent as Do, isSanityDefinedAction as Dp, FormInput as Dr, ObjectInputProps as Ds, DocumentInspector as Dt, useArchivedReleases as Du, FormDiffMatchPatch as Dv, Previewable as Dw, LocalePluginOptions as Dx, SearchOptions as Dy, AsyncComposableOption as E, ConnectionState as EC, useProjectId as ES, CommandListProps as ET, UpsellDescriptionSerializer as E_, DocumentTypeResolveState as Ea, CommentContext as Eb, defaultRenderAnnotation as Ec, StringFormNode as Ed, isTruthy as Ef, TagValue as Eg, FieldValueError as Eh, useProjectStore as Ei, TemplatePreview as El, DiffStringSegment as Em, TagsArrayInputProps as En, checkoutPair as Eo, SanityDefinedAction as Ep, FormRow as Er, NumberInputProps as Es, FormComponents as Et, useDocumentVersionInfo as Eu, FormDecPatch as Ev, PreviewPath as Ew, LocaleNestedResource as Ex, SearchFactoryOptions as Ey, DocumentActionsContext as F, useChangeIndicatorsReporter as FC, FormDocumentValue as FS, ConnectionStatusStoreOptions as FT, StudioLayout as F_, InitialValueOptions as Fa, CommentPostPayload as Fb, ReferenceInputOptions as Fc, UndeclaredMembersError as Fd, getErrorMessage as Ff, isProd as Fg, DeleteDocumentVersionEvent as Fh, ProjectGrants as Fi, DetailPreview as Fl, DiffCard as Fm, PortableTextMemberItem as Fn, getPreviewPaths as Fo, ReleasesNav as Fp, FormFieldValidationStatusProps as Fr, RenderAnnotationCallback as Fs, defineDocumentFieldAction as Ft, getTargetScopeId as Fu, FormSetIfMissingPatch as Fv, VersionChip as Fw, StaticLocaleResourceBundle as Fx, Filters as Fy, DocumentLanguageFilterContext as G, ReporterHook as GC, useDocumentOperationEvent as GS, AuthStoreOptions as GT, SourceProviderProps as G_, OperationSuccess as Ga, CommentsListBreadcrumbItem as Gb, useFormCallbacks as Gc, useVariantDocumentOperations as Gd, LegacyThemeProps as Gf, useOnScroll as Gg, UnscheduleDocumentVersionEvent as Gh, Status as Gi, PreviewLayoutKey as Gl, useAnnotationColor as Gm, DateTimeInputProps as Gn, isArrayOfObjectsInputProps as Go, normalizeIndexSegment as Gp, PresenceScopeProps as Gr, ItemProps as Gs, DocumentFieldActionsResolver as Gt, ExpandFieldSetOperation as Gu, LogoProps as Gv, DRAFTS_FOLDER as Gw, UnitFormatter as Gx, StudioColorScheme as Gy, DocumentInspectorContext as H, useTrackerStoreReporter as HC, DocumentSyncState as HS, getProviderTitle as HT, Studio as H_, validation$1 as Ha, CommentThreadItem as Hb, useReportParseError as Hc, useCanvasCompanionDoc as Hd, catchWithCount as Hf, ScrollEventHandler as Hg, PublishDocumentVersionEvent as Hh, GlobalPresence as Hi, GeneralPreviewLayoutKey as Hl, ChangeList as Hm, EmailInputProps as Hn, PreviewLoader as Ho, getItemKeySegment as Hp, FormField as Hr, RenderPreviewCallback as Hs, DocumentFieldActionProps as Ht, useDivergenceNavigator as Hu, StudioNavbar as Hv, SystemVariant as Hw, UserWithPermission as Hx, useColorSchemeOptions as Hy, DocumentActionsResolver as I, ChangeIndicatorTrackerContextValue as IC, FormattedDuration as IS, ErrorStatus as IT, StudioLayoutComponent as I_, getInitialValueStream as Ia, CommentReactionItem as Ib, ReferenceInputOptionsProvider as Ic, FormFieldGroup as Id, formatRelativeLocale as If, DocumentGroupInventory as Ig, DocumentGroupEvent as Ih, ProjectOrganizationData as Ii, DetailPreviewProps as Il, DiffCardProps as Im, UpdateReadOnlyPlugin as In, unstable_useValuePreview as Io, PerspectiveNotWriteableReason as Ip, FieldStatusProps as Ir, RenderArrayOfObjectsItemCallback as Is, DocumentFieldAction as It, useTargetDocumentState as Iu, FormSetPatch as Iv, PerspectiveContextValue as Iw, TFunction$1 as Ix, ColorSchemeCustomProvider as Iy, DocumentPluginOptions as J, ConnectorContextValue as JC, useDocumentIdStack as JS, _createAuthStore as JT, RequestErrorDialog as J_, MapDocument as Ja, CommentsUIMode as Jb, PatchMsg as Jc, measureFirstMatch as Jd, TasksUpsellContextValue as Jf, CommonProps as Jg, isCreateLiveDocumentEvent as Jh, UserStoreOptions as Ji, PreviewCard as Jl, getAnnotationAtPath as Jm, CrossDatasetReferencePreview as Jn, isNumberInputProps as Jo, normalizePathSegment as Jp, FieldPresence as Jr, PrimitiveItemProps as Js, decodePath as Jt, SetActiveGroupOperation as Ju, StudioComponents as Jv, SystemBundle as Jw, useTools as Jx, useAddonDataset as Jy, DocumentLanguageFilterResolver as K, ChangeConnectorRoot as KC, useDocumentOperation as KS, CreateAuthStoreOptions as KT, useSource as K_, emitOperation as Ka, CommentsTextSelectionItem as Kb, MutationPatchMsg as Kc, isDocumentInSelectedVariant as Kd, LegacyThemeTints as Kf, CollapseMenuButton as Kg, UpdateLiveDocumentEvent as Kh, UserSessionPair as Ki, PreviewMediaDimensions as Kl, useDiffAnnotationColor as Km, DateInput as Kn, isArrayOfPrimitivesInputProps as Ko, normalizeIndexTupleSegment as Kp, PresenceOverlay as Kr, ObjectItem as Ks, DocumentFieldActionsResolverContext as Kt, ExpandOperation as Ku, NavbarAction as Kv, DraftId as Kw, UseUnitFormatterOptions as Kx, StudioTheme as Ky, DocumentActionsVersionType as L, TrackedArea as LC, UseFormattedDurationOptions as LS, RetryingStatus as LT, isValidAnnouncementAudience as L_, InitialValueErrorMsg as La, CommentReactionOption as Lb, TemplateOption as Lc, ProvenanceDiffAnnotation as Ld, EMPTY_ARRAY as Lf, DocumentGroupInventoryProps as Lg, DocumentVersionEventType as Lh, ProjectStore as Li, DefaultPreview as Ll, TIMELINE_ITEM_I18N_KEY_MAPPING as Lm, ObjectInput as Ln, useValuePreview as Lo, isPerspectiveWriteable as Lp, FormFieldStatus as Lr, RenderArrayOfPrimitivesItemCallback as Ls, DocumentFieldActionDivider as Lt, useAllVariants as Lu, FormUnsetPatch as Lv, PerspectiveStack as Lw, ValidationLocaleResourceKeys as Lx, ColorSchemeLocalStorageProvider as Ly, ConfigContext$1 as M, CommentDeleteDialog as MC, useListFormat as MS, ConnectingStatus as MT, StudioProvider as M_, ListenQueryOptions as Ma, CommentMessage as Mb, defaultRenderPreview as Mc, MissingKeysError as Md, getTargetDocument as Mf, ConsentStatus as Mg, CreateDocumentVersionEvent as Mh, getProjectGrants as Mi, BlockImagePreviewProps as Ml, DiffErrorBoundary as Mm, CreateButton as Mn, prepareForPreview as Mo, useGetDefaultPerspective as Mp, FormFieldValidationInfo as Mr, PrimitiveInputElementProps as Ms, defineDocumentInspector as Mt, ReleaseDocument$1 as Mu, FormPatchBase as Mv, ReleaseTitle as Mw, LocaleWeekInfo as Mx, SearchPopover as My, ConfigPropertyReducer as N, ChangeIndicatorsTracker as NC, GlobalCopyPasteElementHandler as NS, ConnectionStatus as NT, StudioProviderProps as N_, ListenQueryParams as Na, CommentOperations as Nb, EditReferenceLinkComponentProps as Nc, MixedArrayError as Nd, getVariantPublishedSibling as Nf, StudioFeedbackProvider as Ng, CreateLiveDocumentEvent as Nh, ProjectData as Ni, MediaPreview as Nl, DiffErrorBoundaryProps as Nm, CreateReferenceOption as Nn, getPreviewValueWithFallback as No, useExcludedPerspective as Np, FormFieldValidationWarning as Nr, PrimitiveInputProps as Ns, initialDocumentFieldActions as Nt, TargetDocumentState as Nu, FormPatchJSONValue as Nv, ReleaseAvatar as Nw, LocalesBundlesOption as Nx, SearchPopoverProps as Ny, BaseActionDescription as O, useConnectionState as OC, useNumberFormat as OS, BetaBadge as OT, UpsellDialogLearnMoreCtaClicked as O_, DocumentStore as Oa, CommentDocument as Ob, defaultRenderField as Oc, DuplicateKeysError as Od, isRecord as Of, StudioFeedbackDialogProps as Og, useEventsStore as Oh, useUserStore as Oi, InlinePreview as Ol, DiffInspectWrapperProps as Om, SlugInput as On, BufferedDocumentWrapper as Oo, SchedulesContextValue as Op, FormInputAbsolutePathArg as Or, OnPasteFn as Os, DocumentInspectorComponent as Ot, useActiveReleases as Ou, FormIncPatch as Ov, PreviewableType as Ow, LocaleResourceBundle as Ox, SearchSort as Oy, DefaultPluginsWorkspaceOptions as P, useChangeIndicatorsReportedValues as PC, useGlobalCopyPasteElementHandler as PS, ConnectionStatusStore as PT, NavbarContextValue as P_, listenQuery as Pa, CommentPath as Pb, EditReferenceOptions as Pc, TypeAnnotationMismatchError as Pd, getReferencePaths as Pf, isDev as Pg, DeleteDocumentGroupEvent as Ph, ProjectDatasetData as Pi, MediaPreviewProps as Pl, DiffErrorBoundaryState as Pm, PortableTextInput as Pn, getPreviewStateObservable as Po, PerspectiveProvider as Pp, FormFieldValidationStatus as Pr, StringInputProps as Ps, documentFieldActionsReducer as Pt, getPairTarget as Pu, FormPatchOrigin as Pv, ReleaseAvatarIcon as Pw, LocalesOption as Px, SearchHeader as Py, MissingConfigFile as Q, sortReleases as QC, DocumentRebaseTelemetryEvent as QS, AuthStore as QT, ConfigErrorClassification as Q_, OperationsAPI as Qa, useWorkspaceSchemaId as Qb, SANITY_PATCH_TYPE as Qc, isReleaseVersion as Qd, DEFAULT_STUDIO_CLIENT_OPTIONS as Qf, buildTextSelectionFromFragment as Qg, isPublishDocumentVersionEvent as Qh, KeyValueStoreValue as Qi, PopoverDialog as Ql, Annotation as Qm, ArrayOfPrimitivesFunctions as Qn, ArrayInputFunctionsProps as Qo, resolveDiffComponent as Qp, FieldPresenceWithOverlay as Qr, BlockProps as Qs, toMutationPatches as Qt, useFormState as Qu, SearchDialog as Qv, createPublishedFrom as Qw, DEFAULT_MAX_RECURSION_DEPTH as Qx, MatchWorkspaceOptions as Qy, DocumentAskToEditEnabledContext as R, TrackedChange as RC, useFormattedDuration as RS, createConnectionStatusStore as RT, isValidAnnouncementRole as R_, InitialValueLoadingMsg as Ra, CommentReactionShortNames as Rb, useReferenceInputOptions as Rc, ALL_FIELDS_GROUP as Rd, EMPTY_OBJECT as Rf, DocumentGroupInventoryPerspectiveList as Rg, EditDocumentVersionEvent as Rh, PresenceStore as Ri, DefaultPreviewProps as Rl, ChangeTitleSegment as Rm, NumberInput as Rn, unstable_useObserveDocument as Ro, getSelectedVariant as Rp, FormFieldSet as Rr, RenderBlockCallback as Rs, DocumentFieldActionGroup as Rt, useSetVariant as Ru, PatchArg as Rv, ReleaseId as Rw, StudioLocaleResourceKeys as Rx, ColorSchemeProvider as Ry, useMiddlewareComponents as S, useDialogStack as SC, useRelativeTime as SS, CommandListGetItemKeyCallback as ST, WorkspaceProvider as S_, useInitialValueResolverContext as Sa, CommentsIntentProviderProps as Sb, FormProvider as Sc, ObjectArrayFormNode as Sd, isCardinalityOnePerspective as Sf, BaseFeedbackTags as Sg, StringDiffSegment as Sh, useGrantsStore as Si, StatusButtonProps as Sl, DiffTooltip as Sm, TextInputProps as Sn, MutationResult as So, DocumentActionPopoverDialogProps as Sp, DivergencesProvider as Sr, ComplexElementProps as Ss, ReleaseActionComponent as St, LATEST as Su, DocumentMeta as Sv, ObserveDocumentAvailabilityFn as Sw, ImplicitLocaleResourceBundle as Sx, defineSearchOperator as Sy, AssetSourceResolver as T, useDataset as TC, useReconnectingToast as TS, CommandListItemContext as TT, InterpolationProp as T_, useDocumentValues as Ta, CommentBaseCreatePayload as Tb, FormBuilderProps as Tc, PrimitiveFormNode as Td, PartialExcept as Tf, Sentiment as Tg, TypeChangeDiff$1 as Th, usePresenceStore as Ti, RelativeTimeProps as Tl, DiffString as Tm, TagsArrayInput as Tn, WithVersion as To, DuplicateDocumentActionComponent as Tp, FormCell as Tr, InputProps as Ts, ReleaseActionsContext as Tt, ReleasesUpsellContextValue as Tu, PatchEvent as Tv, PreparedSnapshot as Tw, LocaleDefinition as Tx, getSearchableTypes as Ty, DocumentInspectorsResolver as U, IsEqualFunction as UC, deriveDocumentSyncState as US, MockAuthStoreOptions as UT, StudioProps as U_, remoteSnapshots as Ua, CommentUpdateOperationOptions as Ub, FormCallbacksProvider as Uc, SANITY_VERSION as Ud, defaultTheme as Uf, ScrollContainer as Ug, ScheduleDocumentVersionEvent as Uh, PresenceLocation as Ui, PortableTextPreviewLayoutKey as Ul, ChangeListProps as Um, getCalendarLabels as Un, Preview as Uo, getValueAtPath as Up, FormFieldProps as Ur, RenderPreviewCallbackProps as Us, DocumentFieldActionStatus as Ut, ParseError as Uu, ActiveToolLayoutProps as Uv, VARIANTS_STUDIO_CLIENT_OPTIONS as Uw, useUserListWithPermissions as Ux, useColorSchemeSetValue as Uy, DocumentCommentsEnabledContext as V, useTrackerStore as VC, useEditState as VS, isCookielessCompatibleLoginMethod as VT, StudioAnnouncementsCard as V_, InitialValueSuccessMsg as Va, CommentTextSelection as Vb, useParseErrors as Vc, useNavigateToCanvasDoc as Vd, createHookFromObservableFactory as Vf, ScrollContextValue as Vg, HistoryClearedEvent as Vh, DocumentPresence as Vi, GeneralDocumentListLayoutKey as Vl, ChangeResolverProps as Vm, EmailInput as Vn, SanityDefaultPreviewProps as Vo, getItemKey as Vp, FormFieldHeaderTextProps as Vr, RenderItemCallback as Vs, DocumentFieldActionNode as Vt, DivergenceNavigator as Vu, StudioToolMenu as Vv, TargetPerspective as Vw, UserListWithPermissionsOptions as Vx, useColorSchemeInternalValue as Vy, DocumentLanguageFilterComponent as W, Reported as WC, useDocumentSyncState as WS, createMockAuthStore as WT, SourceProvider as W_, OperationError as Wa, CommentUpdatePayload as Wb, FormCallbacksValue as Wc, getVariantTitle as Wd, buildLegacyTheme as Wf, ScrollContainerProps as Wg, UnpublishDocumentEvent as Wh, Session as Wi, PreviewComponent as Wl, ChangeBreadcrumb as Wm, DateTimeInput as Wn, isArrayOfBlocksInputProps as Wo, isEmptyObject as Wp, PresenceScope as Wr, BaseItemProps as Ws, DocumentFieldActionTone as Wt, mergeParseErrors as Wu, LayoutProps as Wv, CollatedHit as Ww, FormattableMeasurementUnit as Wx, useColorSchemeValue as Wy, GroupableActionDescription as X, ChangeIndicatorProps as XC, editState$1 as XS, AuthProbeResult as XT, createRequestErrorChannel as X_, OperationArgs as Xa, CommentsAuthoringPathContextValue as Xb, RebasePatchMsg as Xc, isDraftVersion as Xd, TasksNavigationContextValue as Xf, CollapseMenu as Xg, isDeleteDocumentVersionEvent as Xh, createKeyValueStore as Xi, ReferenceInputPreviewCard as Xl, getDiffAtPath as Xm, UniversalArrayInput as Xn, isObjectItemProps as Xo, pathsAreEqual as Xp, FieldPresenceInnerProps as Xr, BlockDecoratorProps as Xs, MutationPatch as Xt, FormState as Xu, ToolMenuProps as Xv, collate as Xw, useTimeAgo as Xx, AddonDatasetProvider as Xy, FormBuilderComponentResolverContext as Y, ChangeIndicator as YC, EditStateFor as YS, createAuthStore as YT, useRetryCountdown as Y_, Operation as Ya, Loadable as Yb, PatchMsgSubscriber as Yc, VersionType as Yd, TasksContextValue as Yf, AutoCollapseMenu as Yg, isDeleteDocumentGroupEvent as Yh, createUserStore as Yi, PreviewCardContextValue as Yl, getAnnotationColor as Ym, BooleanInput as Yn, isObjectInputProps as Yo, pathToString as Yp, FieldPresenceInner as Yr, BlockAnnotationProps as Ys, encodePath as Yt, getExpandOperations as Yu, StudioComponentsPluginOptions as Yv, VERSION_FOLDER as Yw, TimeAgoOpts as Yx, AddonDatasetContextValue as Yy, MediaLibraryConfig as Z, ChangeFieldWrapper as ZC, DocumentPairLoadedEvent as ZS, AuthState as ZT, passthroughErrorHandler as Z_, OperationImpl as Za, CommentsAuthoringPathProvider as Zb, createPatchChannel as Zc, isPublishedVersion as Zd, MentionUserContextValue as Zf, CollapseMenuProps as Zg, isEditDocumentVersionEvent as Zh, KeyValueStore as Zi, usePreviewCard as Zl, visitDiff as Zm, ArrayOfPrimitivesInput as Zn, isStringInputProps as Zo, stringToPath as Zp, FieldPresenceProps as Zr, BlockListItemProps as Zs, fromMutationPatches as Zt, UseFormStateOptions as Zu, StudioLogo as Zv, createDraftFrom as Zw, useTemplates as Zx, useActiveWorkspace as Zy, createDefaultIcon as _, DocumentRemoteMutationEvent as _C, EditPortal as _E, useSyncState as _S, getDocumentVariantType as _T, UpsellData as __, Grant as _a, ActiveWorkspaceMatcherProps as _b, UploaderResolver as _c, DocumentFormNode as _d, _isCustomDocumentTypeDefinition as _f, UseFeedbackReturn as _g, NullDiff$1 as _h, useDocumentPresence as _i, ToastParams$1 as _l, FromTo as _m, ArrayOfObjectsInputMember as _n, DocumentRemoteMutationVersionEvent as _o, DocumentActionDescription as _p, GetFormValueProvider as _r, ArrayOfObjectsInputProps as _s, Workspace as _t, RELEASES_STUDIO_CLIENT_OPTIONS as _u, CopyPasteProvider as _v, DraftsModelDocument as _w, defineLocaleResourceBundle as _x, SearchOperatorInput as _y, resolveSchemaTypes as a, DocumentPairTarget as aC, CorsCheckResult as aE, defaultTemplateForType as aS, idMatchesPerspective as aT, useComments as a_, createGrantsStore as aa, validateWorkspaces as ab, UploadEvent as ac, ArrayOfPrimitivesItemMember as ad, LoadableState as af, UserColorManagerOptions as ag, Chunk as ah, RegionWithIntersectionDetails as ai, setIfMissing as al, isUnchangedDiff as am, ObjectInputMemberProps as an, DocumentRevision as ao, createSchema as ap, ArrayOfObjectsInput as ar, RenderBlockActionsProps as as, PreparedConfig as at, useCopyErrorDetails as au, parseRetryAfter as av, VersionInfoDocumentStub as aw, TranslationProps as ax, SearchFilterDefinition as ay, ConfigPropertyError as b, SnapshotEvent as bC, useReviewChanges as bS, CommandListElementType as bT, ErrorMessage as b_, useResolveInitialValueForType as ba, CommentsSelectedPathContextValue as bb, StudioCrossDatasetReferenceInput as bc, NodeDiffProps as bd, createSWR as bf, UseInStudioFeedbackReturn as bg, ReferenceDiff as bh, useDocumentPreviewStore as bi, TextWithToneProps as bl, FallbackDiff as bm, UrlInputProps as bn, DocumentVersion as bo, DocumentActionKeys as bp, FormValueProvider as br, BaseInputProps as bs, WorkspaceOptions as bt, getReleaseTone as bu, CopyOptions as bv, Id as bw, LocaleProvider as bx, ValuelessSearchOperatorBuilder as by, createWorkspaceFromConfig as c, PendingMutationsEvent as cC, WorkspacesProviderProps as cE, InitialValueTemplateItem as cS, isPublishedId as cT, isTextSelectionComment as c_, getDocumentValuePermissions as ca, useVisibleWorkspaces as cb, FileInputProps as cc, FieldMember as cd, asLoadable as cf, useUserColorManager as cg, DiffComponent as ch, DocumentPreviewPresence as ci, useZIndex as cl, ValueError as cm, MemberField as cn, createHistoryStore as co, DocumentBadgeComponent as cp, FormBuilderContextValue as cr, ArrayOfPrimitivesFieldProps as cs, SanityFormConfig as ct, ErrorActionsProps as cu, isUnauthorizedError as cv, DocumentPreviewStore as cw, UseTranslationOptions as cx, SearchOperatorType as cy, flattenConfig as d, WelcomeBackEvent as dC, CookielessCompatibleLoginMethod as dE, TemplateFieldDefinition as dS, isVersionId as dT, CommentInputContextValue as d_, DocumentPermission as da, getNamelessWorkspaceIdentifier as db, FileLike as dc, ObjectMember as dd, truncateString as df, UserColorHue as dg, DiffProps as dh, useUser as di, UserAvatar as dl, NoChanges as dm, ArrayOfPrimitivesItem as dn, TimelineController as do, GetHookCollectionStateProps as dp, useFieldActions as dr, FieldCommentsProps as ds, SingleWorkspace as dt, DocumentStatus as du, LiveManifestRegisterProvider as dv, createDocumentPreviewStore as dw, useCurrentLocale as dx, I18nSearchOperatorNameKey as dy, InitialSnapshotEvent as eC, LoginComponentProps as eE, Serializeable as eS, getDraftId as eT, buildCommentRangeDecorations as e_, TemplatePermissionsResult as ea, matchWorkspace as eb, MarkdownConfig as ec, StateTree as ed, readVersionType as ef, isUnpublishDocumentEvent as eg, ArrayDiff$1 as eh, FormNodePresence as ei, diffMatchPatch as el, emptyValuesByType as em, useDocumentForm as en, snapshotPair as eo, useScheduledDraftDocument as ep, ArrayOfOptionsInput as er, FormBuilderFilterFieldFn as es, NewDocumentOptionsContext as et, InsufficientPermissionsMessage as eu, classifyConfigError as ev, useOnlyHasVersions as ew, useValidationStatus as ex, PartialIndexSettings as ey, PluginFactory as f, WelcomeEvent as fC, LoginMethod as fE, TemplateItem as fS, newDraftFrom as fT, CommentInput as f_, getDocumentPairPermissions as fa, getWorkspaceIdentifier as fb, ResolvedUploader as fc, ArrayOfObjectsFormNode as fd, uncaughtErrorHandler as ff, UserColorManager as fg, FieldChangeNode as fh, ResourceCache as fi, UserAvatarProps as fl, MetaInfo as fm, PrimitiveMemberItemProps as fn, TimelineControllerOptions as fo, HookCollectionActionHook as fp, FieldActionsProps as fr, FieldProps as fs, Source as ft, formatRelativeLocalePublishDate as fu, GenerateStudioManifestOptions as fv, ApiConfig as fw, useLocale as fx, OperatorButtonValueComponentProps as fy, defineConfig as g, DocumentRebaseEvent as gC, EnhancedObjectDialog as gE, SyncState as gS, DocumentVariantType as gT, CommentsUpsellContextValue as g_, EvaluationParams as ga, ActiveWorkspaceMatcher as gb, UploaderDef as gc, ComputeDiff as gd, joinPath as gf, useStudioFeedbackTags as gg, ItemDiff$1 as gh, useGlobalPresence as gi, ImperativeToast as gl, FromToArrowDirection as gm, ArrayOfObjectsInputMembersProps as gn, CombinedDocument as go, DocumentActionCustomDialogComponentProps as gp, FieldActionMenuProps as gr, StringFieldProps as gs, Tool as gt, isReleaseScheduledOrScheduling as gu, StudioWorkspaceManifest as gv, DocumentStackAvailability as gw, defineLocale as gx, SearchOperatorButtonValue as gy, createConfig as h, DocumentMutationEvent as hC, isAgentBundleName as hE, TypeTarget as hS, Chip as hT, CommentsList as h_, DocumentValuePermission as ha, ConfigErrorGate as hb, Uploader as hc, BooleanFormNode as hd, fieldNeedsEscape as hf, FeedbackContextValue as hg, GroupChangeNode as hh, useResourceCache as hi, ZIndexContextValue as hl, FromToArrow as hm, ArrayOfObjectsInputMembers as hn, TimelineOptions as ho, DocumentActionConfirmDialogProps as hp, FieldActionMenu as hr, PrimitiveFieldProps as hs, TemplateResolver as ht, isPublishedPerspective as hu, StudioManifest as hv, DocumentAvailability as hw, useI18nText as hx, SearchOperatorBuilder as hy, SchemaError as i, getPairListener as iC, StudioErrorHandler as iE, resolveInitialValueForType as iS, getVersionId as iT, CommentsEnabledContextValue as i_, GrantsStoreOptions as ia, validateNames as ib, ArrayInputMoveItemEvent as ic, ArrayOfObjectsMember as id, ErrorState as if, UserColorManagerProviderProps as ig, ChangeTitlePath as ih, Rect as ii, set as il, isRemovedItemDiff as im, ObjectInputMember as in, useTimelineStore as io, getSchemaTypeTitle as ip, useVirtualizerScrollInstance as ir, RenderBlockActionsCallback as is, PluginOptions as it, serializeError as iu, isTimeoutError as iv, useDocumentVersions as iw, TranslateComponentMap as ix, SearchContextValue as iy, Config as j, CommentDisabledIcon as jC, UseListFormatOptions as jS, ConnectedStatus as jT, UpsellDialogViewedInfo as j_, createDocumentStore as ja, CommentListBreadcrumbs as jb, defaultRenderItem as jc, InvalidItemTypeError as jd, globalScope as jf, useTelemetryConsent as jg, BaseEvent as jh, createProjectStore as ji, BlockImagePreview as jl, FieldPreviewComponent as jm, ReferenceAutocomplete as jn, createObservableBufferedDocument as jo, usePerspective as jp, FormFieldValidationError as jr, PortableTextInputProps as js, DocumentInspectorUseMenuItemProps as jt, DEFAULT_DECORATORS as ju, FormPatch as jv, getVersionInlineBadge as jw, LocaleSource as jx, SearchResultItemPreview as jy, BetaFeatures as k, useConditionalToast as kC, UseManageFavoriteProps as kS, BetaBadgeProps as kT, UpsellDialogUpgradeCtaClicked as k_, DocumentStoreOptions as ka, CommentFieldCreatePayload as kb, defaultRenderInlineBlock as kc, FieldError as kd, isNonNullable as kf, FeedbackDialog as kg, EventsProvider as kh, useProjectDatasets as ki, InlinePreviewProps as kl, DiffFromTo as km, SlugInputProps as kn, createBufferedDocument as ko, EditScheduleForm as kp, FormInputRelativePathArg as kr, OnPathFocusPayload as ks, DocumentInspectorMenuItem as kt, RELEASES_INTENT as ku, FormInsertPatch as kv, Selection as kw, LocaleResourceKey as kx, SearchTerms as ky, resolveConfig as l, ReconnectEvent as lC, AuthConfig as lE, Template as lS, isSystemBundle as lT, COMMENTS_INSPECTOR_NAME as l_, useDocumentValuePermissions as la, VisibleWorkspacesContextValue as lb, StudioFileInput as lc, FieldSetMember as ld, useLoadable as lf, HexColor as lg, DiffComponentOptions as lh, DocumentPreviewPresenceProps as li, WithReferringDocuments as ll, RevertChangesConfirmDialog as lm, MemberFieldProps as ln, removeMissingReferences as lo, DocumentBadgeDescription as lp, useHoveredField as lr, BaseFieldProps as ls, ScheduledPublishingPluginOptions as lt, DocumentStatusIndicator as lu, renderStudio as lv, DocumentPreviewStoreOptions as lw, UseTranslationResponse as lx, operatorDefinitions as ly, definePlugin as m, CommittedEvent as mC, useAgentVersionDisplay as mE, TemplateReferenceTarget as mS, systemBundles as mT, CommentInputProps as m_, useDocumentPairPermissionsFromHookFactory as ma, CorsOriginErrorScreen as mb, UploadProgressEvent as mc, BaseFormNode as md, escapeField as mf, FeedbackContext as mg, FromToIndex as mh, ResourceCacheProviderProps as mi, ZIndexContextValueKey as ml, GroupChange as mm, MemberItemProps as mn, Timeline as mo, DocumentActionComponent as mp, FieldActionsProvider as mr, ObjectFieldProps as ms, SourceOptions as mt, isDraftPerspective as mu, ManifestWorkspaceInput as mv, AvailabilityResponse as mw, I18nNode as mx, SearchOperatorBase as my, getConfigContextFromSource as n, ListenerEvent as nC, RequestErrorClaim as nE, resolveInitialObjectValue as nS, getPublishedId as nT, useCommentsSelectedPath as n_, useTemplatePermissions as na, ValidateWorkspaceOptions as nb, ArrayInputCopyEvent as nc, FieldsetState as nd, useThrottledCallback as nf, isUpdateLiveDocumentEvent as ng, BooleanDiff$1 as nh, Position as ni, insert as nl, isFieldChange as nm, ObjectMembers as nn, TimelineState as no, SingleDocReleaseProvider as np, VirtualizerScrollInstanceProvider as nr, FormBuilderMarkersComponent as ns, PartialContext as nt, Hotkeys as nu, isClientRequestError as nv, useFormatRelativeLocalePublishDate as nw, validateDocument as nx, useSearchState as ny, CreateWorkspaceFromConfigOptions as o, IdPair as oC, CorsProbeOutcome as oE, defaultTemplatesForSchema as oS, isDraft as oT, CommentsContextValue as o_, grantsPermissionOn as oa, useWorkspaces as ob, ImageInputProps as oc, ArrayOfPrimitivesMember as od, LoadedState as of, createUserColorManager as og, ChunkType as oh, ReportedRegionWithRect as oi, unset as ol, noop as om, MemberFieldSet as on, HistoryStore as oo, SchedulesContext as op, ArrayOfObjectsFunctions as or, RenderCustomMarkers as os, ReleaseActionsResolver as ot, ErrorWithId as ou, getApiErrorCode as ov, isReleaseDocument as ow, defaultLocale as ox, defineSearchFilter as oy, createPlugin as p, CommitFunction as pC, AgentVersionDisplay as pE, TemplateParameter as pS, removeDupes as pT, CommentInputHandle as p_, useDocumentPairPermissions as pa, WorkspaceLike as pb, UploadOptions as pc, ArrayOfPrimitivesFormNode as pd, supportsTouch as pf, UserId as pg, FieldOperationsAPI as ph, ResourceCacheProvider as pi, LegacyLayerProvider as pl, MetaInfoProps as pm, ArrayOfObjectsItem as pn, ParsedTimeRef as po, useScheduleAction as pp, FieldActionsResolver as pr, NumberFieldProps as ps, SourceClientOptions as pt, getDocumentIsInPerspective as pu, generateStudioManifest as pv, AvailabilityReason as pw, useGetI18nText as px, OperatorInputComponentProps as py, DocumentLayoutProps as q, ChangeConnectorRootProps as qC, DocumentIdStack as qS, RequestFailureDiagnostics as qT, useStudioErrorHandler as q_, operationEvents as qa, CommentsType as qb, PatchChannel as qc, measureFirstEmission as qd, useDocumentPreviewValues as qf, CollapseMenuButtonProps as qg, isCreateDocumentVersionEvent as qh, UserStore as qi, PreviewProps as ql, DiffVisitor as qm, DateInputProps as qn, isBooleanInputProps as qo, normalizeKeySegment as qp, PresenceOverlayProps as qr, ObjectItemProps as qs, TransformPatches as qt, ExpandPathOperation as qu, NavbarProps as qv, PublishedId as qw, useUnitFormatter as qx, StudioThemeColorSchemeKey as qy, useConfigContextFromSource as r, MutationPerformanceEvent as rC, RequestErrorReportOptions as rE, resolveInitialValue as rS, getVersionFromId as rT, useCommentsEnabled as r_, useTemplatePermissionsFromHookFactory as ra, validateBasePaths as rb, ArrayInputInsertEvent as rc, ArrayOfObjectsItemMember as rd, userHasRole as rf, UserColorManagerProvider as rg, ChangeNode as rh, PresentUser as ri, prefixPath as rl, isGroupChange as rm, ObjectMembersProps as rn, TimelineStore as ro, useSingleDocRelease as rp, VirtualizerScrollInstance as rr, PortableTextMarker as rs, Plugin as rt, HotkeysProps$1 as ru, isNetworkError as rv, useDocumentVersionTypeSortedList as rw, Translate as rx, SearchProvider as ry, createSourceFromConfig as s, MutationEvent as sC, WorkspacesProvider as sE, prepareTemplates as sS, isDraftId as sT, hasCommentMessageValue as s_, DocumentValuePermissionsOptions as sa, evaluateWorkspaceHidden as sb, StudioImageInput as sc, DecorationMember as sd, LoadingState as sf, useUserColor as sg, Diff$1 as sh, Size as si, ZIndexProvider as sl, DocumentChangeContextInstance as sm, MemberFieldError as sn, HistoryStoreOptions as so, ScheduledBadge as sp, useDidUpdate as sr, ArrayFieldProps as ss, ResolveProductionUrlContext as st, ErrorActions as su, isInvalidSessionError as sv, MetadataWrapper as sw, usEnglishLocale as sx, defineSearchFilterOperators as sy, ActiveWorkspaceMatcherContextValue as t, LatencyReportEvent as tC, RequestErrorChannel as tE, isBuilder as tS, getIdPair as tT, useCommentsTelemetry as t_, getTemplatePermissions as ta, WorkspacesContextValue as tb, PortableTextPluginsProps as tc, FieldsetMembers as td, useUnique as tf, isUnscheduleDocumentVersionEvent as tg, ArrayItemMetadata as th, Location as ti, inc as tl, isAddedItemDiff as tm, ObjectInputMembers as tn, useTimelineSelector as to, usePausedScheduledDraft as tp, ArrayOfObjectOptionsInput as tr, FormBuilderInputComponentMap as ts, NewDocumentOptionsResolver as tt, InsufficientPermissionsMessageProps as tu, classifyRequestError as tv, useIsReleaseActive as tw, ValidateDocumentOptions as tx, useSearchMaxFieldDepth as ty, prepareConfig as u, ResetEvent as uC, AuthProvider as uE, TemplateArrayFieldDefinition as uS, isSystemBundleName as uT, CommentInlineHighlightSpan as u_, DocumentPairPermissionsOptions as ua, VisibleWorkspacesProvider as ub, AssetSourcesResolver as uc, FieldsetRenderMembersCallback as ud, sliceString as uf, UserColor as ug, DiffComponentResolver as uh, useCurrentUser as ui, AvatarSkeleton as ul, RevertChangesButton as um, MemberItemError as un, SelectionState as uo, DocumentBadgeProps as up, HoveredFieldProvider as ur, BooleanFieldProps as us, SchemaPluginOptions as ut, CapabilityGate as uu, uploadSchema as uv, ObserveForPreviewFn as uw, useTranslation as ux, I18nSearchOperatorDescriptionKey as uy, ConfigResolutionError as v, MutationPayload as vC, createSanityMediaLibraryFileSource as vE, useStudioUrl as vS, ContextMenuButton as vT, WorkspaceLoaderBoundary as v_, GrantsStore as va, RouterHistory as vb, StudioReferenceInput as vc, HiddenField as vd, _isSanityDocumentTypeDefinition as vf, useFeedback as vg, NumberDiff$1 as vh, useComlinkStore as vi, TooltipOfDisabled as vl, FromToProps as vm, ArrayOfObjectsMemberProps as vn, Transaction as vo, DocumentActionDialogProps as vp, useGetFormValue as vr, ArrayOfPrimitivesElementType as vs, WorkspaceHiddenContext as vt, isReleasePerspective as vu, useCopyPaste as vv, DraftsModelDocumentAvailability as vw, defineLocalesResources as vx, SearchOperatorParams as vy, AppsOptions as w, useDateTimeFormat as wC, useReferringDocuments as wS, CommandListHandle as wT, useWorkspace as w_, isNewDocument as wa, CommentsProvider as wb, FormBuilder as wc, ObjectRenderMembersCallback as wd, isPausedCardinalityOneRelease as wf, FeedbackPayload as wg, StringSegmentUnchanged$1 as wh, useKeyValueStore as wi, RelativeTime as wl, DiffTooltipWithAnnotationsProps as wm, TelephoneInputProps as wn, RemoteSnapshotVersionEvent as wo, DuplicateActionProps as wp, FormContainer as wr, InputOnSelectFileFunctionProps as ws, ReleaseActionProps as wt, useReleasesIds as wu, SanityClipboardItem as wv, ObservePathsFn as ww, LocaleConfigContext as wx, isPerspectiveRaw as wy, ConfigPropertyErrorOptions as x, StoreRequestErrorHandler as xC, RelativeTimeOptions as xS, CommandListGetItemDisabledCallback as xT, ErrorMessageProps as x_, useInitialValue as xa, CommentsIntentProvider as xb, StudioCrossDatasetReferenceInputProps as xc, NumberFormNode as xd, CardinalityOneRelease as xf, useInStudioFeedback as xg, StringDiff$1 as xh, useDocumentStore as xi, StatusButton as xl, Event$1 as xm, TextInput as xn, DocumentVersionEvent as xo, DocumentActionModalDialogProps as xp, useFormValue as xr, BooleanInputProps as xs, WorkspaceSummary as xt, getReleaseIdFromReleaseDocumentId as xu, CopyPasteContextType as xv, InvalidationChannelEvent as xw, LocaleProviderBase as xx, ValuelessSearchOperatorParams as xy, ConfigResolutionErrorOptions as y, RemoteSnapshotEvent as yC, createSanityMediaLibraryImageSource as yE, useSchema as yS, CommandList as yT, useWorkspaceLoader as y_, PermissionCheckResult as ya, CommentsSelectedPath as yb, StudioReferenceInputProps as yc, NodeChronologyProps as yd, _isType as yf, SendFeedbackOptions as yg, ObjectDiff$1 as yh, useConnectionStatusStore as yi, TextWithTone as yl, FieldChange as ym, UrlInput as yn, CommitError as yo, DocumentActionGroup as yp, FormValueContextValue as yr, ArrayOfPrimitivesInputProps as ys, WorkspaceHiddenProperty as yt, isGoingToUnpublish as yu, BaseOptions as yv, FieldName as yw, removeUndefinedLocaleResources as yx, SearchValueFormatterContext as yy, DocumentBadgesContext as z, TrackerContextGetSnapshot as zC, useFilteredReleases as zS, onRetry as zT, StudioAnnouncementsDialog as z_, InitialValueMsg as za, CommentStatus as zb, ParseErrorsProvider as zc, resolveConditionalProperty as zd, LoadingTuple as zf, DocumentGroupInventoryReferencePreviewLinkProps as zg, EventsStore as zh, SESSION_ID as zi, CompactPreview as zl, ChangesError as zm, AssetAccessPolicy as zn, useUnstableObserveDocument as zo, FIXME as zp, FormFieldSetProps as zr, RenderFieldCallback as zs, DocumentFieldActionHook as zt, isDocumentLimitError as zu, ToolLink as zv, ReleasesNavMenuItemPropsGetter as zw, Rule as zx, ColorSchemeProviderProps as zy };
17572
+ export { PluginOptions as $, RequestErrorClaim as $C, getDraftId as $S, I18nSearchOperatorDescriptionKey as $_, ParsedTimeRef as $a, useDocumentIdStack as $b, ZIndexContextValueKey as $c, LoadingTuple as $d, getValueAtPath as $f, isInvalidSessionError as $g, buildCommentRangeDecorations as $h, DocumentPermission as $i, RELEASES_STUDIO_CLIENT_OPTIONS as $l, UpdateLiveDocumentEvent as $m, ArrayOfObjectsInput as $n, NumberFieldProps as $o, useDiffAnnotationColor as $p, useUser as $r, UploadOptions as $s, ObjectInputMember as $t, HiddenField as $u, CommentsIntentProviderProps as $v, sortReleases as $x, LocalePluginOptions as $y, DocumentActionsContext as A, ConnectingStatus as AC, getVersionInlineBadge as AS, ToolLink as A_, OperationError as Aa, TemplateArrayFieldDefinition as Ab, FormCallbacksValue as Ac, isReleaseVersion as Ad, DocumentActionDescription as Af, isValidAnnouncementAudience as Ag, DynamicFeedbackTags as Ah, GlobalPresence as Ai, PreviewCard as Al, StringSegmentChanged$1 as Am, PortableTextMemberItem as An, isArrayOfBlocksInputProps as Ao, DiffTooltip as Ap, FormField as Ar, BaseItemProps as As, defineDocumentFieldAction as At, getExpandOperations as Au, useColorSchemeValue as Av, useConnectionState as Ax, ValidateDocumentOptions as Ay, DocumentLanguageFilterContext as B, MockAuthStoreOptions as BC, TargetPerspective as BS, StudioComponentsPluginOptions as B_, snapshotPair as Ba, UseManageFavoriteProps as Bb, diffMatchPatch as Bc, useLoadable as Bd, isSanityDefinedAction as Bf, RequestErrorDialog as Bg, DocumentGroupInventoryReferencePreviewLinkProps as Bh, KeyValueStoreValue as Bi, serializeError as Bl, CreateLiveDocumentEvent as Bm, DateInput as Bn, FormBuilderFilterFieldFn as Bo, DiffErrorBoundary as Bp, FieldPresenceWithOverlay as Br, MarkdownConfig as Bs, DocumentFieldActionsResolver as Bt, ArrayOfPrimitivesItemMember as Bu, WorkspacesContextValue as Bv, TrackerContextGetSnapshot as Bx, useCurrentLocale as By, BaseActionDescription as C, CommandListItemContext as CC, ObservePathsFn as CS, FormPatchBase as C_, InitialValueErrorMsg as Ca, resolveInitialValue as Cb, TemplateOption as Cc, useVariantDocumentOperations as Cd, DocumentBadgeProps as Cf, UpsellDialogDismissed as Cg, useStudioFeedbackTags as Ch, ProjectGrants as Ci, GeneralDocumentListLayoutKey as Cl, ItemDiff$1 as Cm, SlugInput as Cn, useValuePreview as Co, FromToArrow as Cp, FormFieldValidationStatusProps as Cr, RenderArrayOfPrimitivesItemCallback as Cs, DocumentInspectorComponent as Ct, useDivergenceNavigator as Cu, ColorSchemeLocalStorageProvider as Cv, MutationPayload as Cx, CommentsTextSelectionItem as Cy, ConfigContext$1 as D, BetaBadgeProps as DC, PreviewableType as DS, FormSetPatch as D_, InitialValueSuccessMsg as Da, prepareTemplates as Db, useParseErrors as Dc, VersionType as Dd, DocumentActionComponent as Df, UpsellDialogViewedInfo as Dg, UseInStudioFeedbackReturn as Dh, SESSION_ID as Di, PreviewLayoutKey as Dl, ReferenceDiff as Dm, CreateButton as Dn, SanityDefaultPreviewProps as Do, FieldChange as Dp, FormFieldSetProps as Dr, RenderItemCallback as Ds, defineDocumentInspector as Dt, ExpandOperation as Du, useColorSchemeInternalValue as Dv, useDialogStack as Dx, CommentsAuthoringPathProvider as Dy, Config as E, BetaBadge as EC, Previewable as ES, FormSetIfMissingPatch as E_, InitialValueState as Ea, defaultTemplatesForSchema as Eb, useParseErrorForPath as Ec, measureFirstMatch as Ed, useScheduleAction as Ef, UpsellDialogViewed as Eg, SendFeedbackOptions as Eh, PresenceStore as Ei, PreviewComponent as El, ObjectDiff$1 as Em, ReferenceAutocomplete as En, SanityDefaultPreview as Eo, FromToProps as Ep, FormFieldSet as Er, RenderInputCallback as Es, DocumentInspectorUseMenuItemProps as Et, ExpandFieldSetOperation as Eu, useColorScheme as Ev, StoreRequestErrorHandler as Ex, Loadable as Ey, DocumentBadgesResolver as F, RetryingStatus as FC, PerspectiveContextValue as FS, LayoutProps as F_, Operation as Fa, TypeTarget as Fb, PatchMsgSubscriber as Fc, ErrorState as Fd, DocumentActionPopoverDialogProps as Ff, StudioProps as Fg, ConsentStatus as Fh, UserStore as Fi, IntentButton as Fl, useEventsStore as Fm, ImageUrlBuilder$1 as Fn, isObjectInputProps as Fo, DiffInspectWrapper as Fp, PresenceOverlayProps as Fr, BlockAnnotationProps as Fs, DocumentFieldActionItem as Ft, StateTree as Fu, AddonDatasetContextValue as Fv, useChangeIndicatorsReportedValues as Fx, defaultLocale as Fy, GroupableActionDescription as G, _createAuthStore as GC, DraftId as GS, useSearchState as G_, DocumentRevision as Ga, useFilteredReleases as Gb, setIfMissing as Gc, CardinalityOneRelease as Gd, PerspectiveProvider as Gf, RequestErrorClassification as Gg, CollapseMenuButton as Gh, useTemplatePermissionsFromHookFactory as Gi, DocumentStatusIndicator as Gl, EditDocumentVersionEvent as Gm, ArrayOfPrimitivesInput as Gn, RenderBlockActionsProps as Go, TIMELINE_ITEM_I18N_KEY_MAPPING as Gp, PresentUser as Gr, UploadEvent as Gs, MutationPatch as Gt, FieldsetRenderMembersCallback as Gu, VisibleWorkspacesProvider as Gv, Reported as Gx, removeUndefinedLocaleResources as Gy, DocumentLayoutProps as H, AuthStoreOptions as HC, VARIANTS_STUDIO_CLIENT_OPTIONS as HS, StudioLogo as H_, TimelineState as Ha, GlobalCopyPasteElementHandler as Hb, insert as Hc, _isSanityDocumentTypeDefinition as Hd, EditScheduleForm as Hf, createRequestErrorChannel as Hg, ScrollContainer as Hh, TemplatePermissionsResult as Hi, ErrorWithId as Hl, DeleteDocumentVersionEvent as Hm, CrossDatasetReferencePreview as Hn, FormBuilderMarkersComponent as Ho, DiffErrorBoundaryState as Hp, FormNodePresence as Hr, ArrayInputCopyEvent as Hs, TransformPatches as Ht, DecorationMember as Hu, evaluateWorkspaceHidden as Hv, useTrackerStore as Hx, defineLocale as Hy, DocumentCommentsEnabledContext as I, createConnectionStatusStore as IC, PerspectiveStack as IS, LogoProps as I_, OperationArgs as Ia, useSchema as Ib, RebasePatchMsg as Ic, LoadableState as Id, DocumentActionProps as If, SourceProvider as Ig, StudioFeedbackProvider as Ih, UserStoreOptions as Ii, InsufficientPermissionsMessage as Il, EventsProvider as Im, EmailInput as In, isObjectItemProps as Io, DiffInspectWrapperProps as Ip, FieldPresence as Ir, BlockDecoratorProps as Is, DocumentFieldActionNode as It, FieldsetMembers as Iu, useActiveWorkspace as Iv, useChangeIndicatorsReporter as Ix, usEnglishLocale as Iy, NewDocumentCreationContext as J, AuthState as JC, VERSION_FOLDER as JS, SearchFilterDefinition as J_, createHistoryStore as Ja, deriveDocumentSyncState as Jb, WithReferringDocuments as Jc, isPausedCardinalityOneRelease as Jd, isPerspectiveWriteable as Jf, isClientRequestError as Jg, AutoCollapseMenu as Jh, grantsPermissionOn as Ji, formatRelativeLocalePublishDate as Jl, HistoryClearedEvent as Jm, ArrayOfOptionsInput as Jn, ArrayOfPrimitivesFieldProps as Jo, ChangeResolverProps as Jp, ReportedRegionWithRect as Jr, FileInputProps as Js, useFormBuilder as Jt, ArrayOfPrimitivesFormNode as Ju, ActiveWorkspaceMatcherProps as Jv, ChangeConnectorRootProps as Jx, ImplicitLocaleResourceBundle as Jy, MediaLibraryConfig as K, createAuthStore as KC, PublishedId as KS, SearchProvider as K_, HistoryStore as Ka, useEditState as Kb, unset as Kc, isCardinalityOnePerspective as Kd, ReleasesNav as Kf, classifyConfigError as Kg, CollapseMenuButtonProps as Kh, GrantsStoreOptions as Ki, CapabilityGate as Kl, EventsStore as Km, ArrayOfPrimitivesFunctions as Kn, RenderCustomMarkers as Ko, ChangeTitleSegment as Kp, Rect as Kr, ImageInputProps as Ks, fromMutationPatches as Kt, ObjectMember as Ku, ConfigErrorGate as Kv, ReporterHook as Kx, LocaleProvider as Ky, DocumentInspectorContext as L, onRetry as LC, ReleaseId as LS, NavbarAction as L_, OperationImpl as La, useReviewChanges as Lb, createPatchChannel as Lc, LoadedState as Ld, DuplicateActionProps as Lf, SourceProviderProps as Lg, DocumentGroupInventory as Lh, createUserStore as Li, InsufficientPermissionsMessageProps as Ll, useEvents as Lm, EmailInputProps as Ln, isStringInputProps as Lo, DiffFromTo as Lp, FieldPresenceInner as Lr, BlockListItemProps as Ls, DocumentFieldActionProps as Lt, FieldsetState as Lu, MatchWorkspaceOptions as Lv, ChangeIndicatorTrackerContextValue as Lx, UseTranslationOptions as Ly, DocumentActionsVersionType as M, ConnectionStatusStore as MC, ReleaseAvatar as MS, StudioToolMenu as M_, emitOperation as Ma, TemplateItem as Mb, MutationPatchMsg as Mc, readVersionType as Md, DocumentActionGroup as Mf, StudioAnnouncementsDialog as Mg, Sentiment as Mh, Session as Mi, ReferenceInputPreviewCard as Ml, TypeChangeDiff$1 as Mm, ObjectInput as Mn, isArrayOfPrimitivesInputProps as Mo, DiffTooltipWithAnnotationsProps as Mp, PresenceScope as Mr, ObjectItem as Ms, DocumentFieldActionDivider as Mt, UseFormStateOptions as Mu, StudioTheme as Mv, useClient as Mx, Translate as My, DocumentAskToEditEnabledContext as N, ConnectionStatusStoreOptions as NC, ReleaseAvatarIcon as NS, StudioNavbar as N_, operationEvents as Na, TemplateParameter as Nb, PatchChannel as Nc, useThrottledCallback as Nd, DocumentActionKeys as Nf, StudioAnnouncementsContextValue as Ng, TagValue as Nh, Status as Ni, usePreviewCard as Nl, FieldValueError as Nm, NumberInput as Nn, isBooleanInputProps as No, DiffString as Np, PresenceScopeProps as Nr, ObjectItemProps as Ns, DocumentFieldActionGroup as Nt, useFormState as Nu, StudioThemeColorSchemeKey as Nv, CommentDisabledIcon as Nx, TranslateComponentMap as Ny, ConfigPropertyReducer as O, CONNECTING as OC, Selection as OS, FormUnsetPatch as O_, validation$1 as Oa, InitialValueTemplateItem as Ob, useReportParseError as Oc, isDraftVersion as Od, DocumentActionConfirmDialogProps as Of, StudioProvider as Og, useInStudioFeedback as Oh, createPresenceStore as Oi, PreviewMediaDimensions as Ol, StringDiff$1 as Om, CreateReferenceOption as On, PreviewLoader as Oo, FallbackDiff as Op, FormFieldHeaderText as Or, RenderPreviewCallback as Os, initialDocumentFieldActions as Ot, ExpandPathOperation as Ou, useColorSchemeOptions as Ov, ConnectionState as Ox, useVersionRelease as Oy, DocumentBadgesContext as P, ErrorStatus as PC, VersionChip as PS, ActiveToolLayoutProps as P_, MapDocument as Pa, TemplateReferenceTarget as Pb, PatchMsg as Pc, userHasRole as Pd, DocumentActionModalDialogProps as Pf, Studio as Pg, useTelemetryConsent as Ph, UserSessionPair as Pi, PopoverDialog as Pl, getValueError as Pm, AssetAccessPolicy as Pn, isNumberInputProps as Po, DiffStringSegment as Pp, PresenceOverlay as Pr, PrimitiveItemProps as Ps, DocumentFieldActionHook as Pt, setAtPath as Pu, useAddonDataset as Pv, ChangeIndicatorsTracker as Px, TranslationProps as Py, Plugin as Q, RequestErrorChannel as QC, documentIdEquals as QS, operatorDefinitions as Q_, TimelineControllerOptions as Qa, DocumentIdStack as Qb, LegacyLayerProvider as Qc, getReferencePaths as Qd, getItemKeySegment as Qf, getApiErrorCode as Qg, buildRangeDecorationSelectionsFromComments as Qh, DocumentPairPermissionsOptions as Qi, isReleaseScheduledOrScheduling as Ql, UnscheduleDocumentVersionEvent as Qm, useVirtualizerScrollInstance as Qn, FieldProps as Qo, useAnnotationColor as Qp, useCurrentUser as Qr, ResolvedUploader as Qs, ObjectMembersProps as Qt, DocumentFormNode as Qu, CommentsIntentProvider as Qv, ChangeFieldWrapper as Qx, LocaleNestedResource as Qy, DocumentInspectorsResolver as R, isAuthStore as RC, ReleasesNavMenuItemPropsGetter as RS, NavbarProps as R_, OperationsAPI as Ra, DocumentField as Rb, SANITY_PATCH_TYPE as Rc, LoadingState as Rd, DuplicateDocumentActionComponent as Rf, useSource as Rg, DocumentGroupInventoryProps as Rh, createKeyValueStore as Ri, Hotkeys as Rl, BaseEvent as Rm, DateTimeInput as Rn, ArrayInputFunctionsProps as Ro, DiffFromToProps as Rp, FieldPresenceInnerProps as Rr, BlockProps as Rs, DocumentFieldActionStatus as Rt, ArrayOfObjectsItemMember as Ru, MatchWorkspaceResult as Rv, TrackedArea as Rx, UseTranslationResponse as Ry, AsyncConfigPropertyReducer as S, CommandListHandle as SC, ObserveDocumentTypeFromIdFn as SS, FormPatch as S_, getInitialValueStream as Sa, resolveInitialObjectValue as Sb, ReferenceInputOptionsProvider as Sc, getVariantTitle as Sd, DocumentBadgeDescription as Sf, UpsellDescriptionSerializer as Sg, FeedbackContextValue as Sh, ProjectDatasetData as Si, CompactPreviewProps as Sl, GroupChangeNode as Sm, StringInput as Sn, unstable_useValuePreview as So, GroupChange as Sp, FormFieldValidationStatus as Sr, RenderArrayOfObjectsItemCallback as Ss, DocumentInspector as St, DivergenceNavigator as Su, ColorSchemeCustomProvider as Sv, DocumentRemoteMutationEvent as Sx, CommentsListBreadcrumbItem as Sy, ComposableOption as T, CommandListRenderItemCallback as TC, PreviewPath as TS, FormPatchOrigin as T_, InitialValueMsg as Ta, defaultTemplateForType as Tb, ParseErrorsProvider as Tc, measureFirstEmission as Td, HookCollectionActionHook as Tf, UpsellDialogUpgradeCtaClicked as Tg, useFeedback as Th, ProjectStore as Ti, PortableTextPreviewLayoutKey as Tl, NumberDiff$1 as Tm, SelectInput as Tn, useUnstableObserveDocument as To, FromTo as Tp, FormFieldStatus as Tr, RenderFieldCallback as Ts, DocumentInspectorProps as Tt, mergeParseErrors as Tu, ColorSchemeProviderProps as Tv, SnapshotEvent as Tx, CommentsUIMode as Ty, DocumentPluginOptions as U, CreateAuthStoreOptions as UC, CollatedHit as US, PartialIndexSettings as U_, TimelineStore as Ua, useGlobalCopyPasteElementHandler as Ub, prefixPath as Uc, _isType as Ud, useSetPerspective as Uf, passthroughErrorHandler as Ug, ScrollContainerProps as Uh, getTemplatePermissions as Ui, ErrorActions as Ul, DocumentGroupEvent as Um, BooleanInput as Un, PortableTextMarker as Uo, DiffCard as Up, Location as Ur, ArrayInputInsertEvent as Us, decodePath as Ut, FieldMember as Uu, useVisibleWorkspaces as Uv, useTrackerStoreReporter as Ux, defineLocaleResourceBundle as Uy, DocumentLanguageFilterResolver as V, createMockAuthStore as VC, SystemVariant as VS, ToolMenuProps as V_, useTimelineSelector as Va, useManageFavorite as Vb, inc as Vc, _isCustomDocumentTypeDefinition as Vd, SchedulesContextValue as Vf, useRetryCountdown as Vg, DocumentGroupInventoryAction as Vh, TemplatePermissionsOptions as Vi, useCopyErrorDetails as Vl, DeleteDocumentGroupEvent as Vm, DateInputProps as Vn, FormBuilderInputComponentMap as Vo, DiffErrorBoundaryProps as Vp, FieldPresenceData as Vr, PortableTextPluginsProps as Vs, DocumentFieldActionsResolverContext as Vt, ArrayOfPrimitivesMember as Vu, useWorkspaces as Vv, TrackerContextStore as Vx, useLocale as Vy, FormBuilderComponentResolverContext as W, RequestFailureDiagnostics as WC, DRAFTS_FOLDER as WS, useSearchMaxFieldDepth as W_, useTimelineStore as Wa, FormDocumentValue as Wb, set as Wc, createSWR as Wd, usePerspective as Wf, ConfigErrorClassification as Wg, useOnScroll as Wh, useTemplatePermissions as Wi, ErrorActionsProps as Wl, DocumentVersionEventType as Wm, UniversalArrayInput as Wn, RenderBlockActionsCallback as Wo, DiffCardProps as Wp, Position as Wr, ArrayInputMoveItemEvent as Ws, encodePath as Wt, FieldSetMember as Wu, VisibleWorkspacesContextValue as Wv, IsEqualFunction as Wx, defineLocalesResources as Wy, NewDocumentOptionsResolver as X, HandleCallbackResult as XC, createDraftFrom as XS, defineSearchFilterOperators as X_, SelectionState as Xa, useDocumentOperationEvent as Xb, UserAvatar as Xc, getTargetDocument as Xd, findIndex as Xf, isTimeoutError as Xg, CollapseMenuProps as Xh, getDocumentValuePermissions as Xi, isDraftPerspective as Xl, ScheduleDocumentVersionEvent as Xm, VirtualizerScrollInstanceProvider as Xn, BooleanFieldProps as Xo, ChangeListProps as Xp, DocumentPreviewPresence as Xr, AssetSourcesResolver as Xs, ObjectInputMembers as Xt, BooleanFormNode as Xu, CommentsSelectedPath as Xv, ChangeIndicator as Xx, LocaleConfigContext as Xy, NewDocumentOptionsContext as Y, AuthStore as YC, collate as YS, defineSearchFilter as Y_, removeMissingReferences as Ya, useDocumentSyncState as Yb, AvatarSkeleton as Yc, PartialExcept as Yd, getSelectedVariant as Yf, isNetworkError as Yg, CollapseMenu as Yh, DocumentValuePermissionsOptions as Yi, getDocumentIsInPerspective as Yl, PublishDocumentVersionEvent as Ym, ArrayOfObjectOptionsInput as Yn, BaseFieldProps as Yo, ChangeList as Yp, Size as Yr, StudioFileInput as Ys, useDocumentForm as Yt, BaseFormNode as Yu, RouterHistory as Yv, ConnectorContextValue as Yx, Locale as Yy, PartialContext as Z, LoginComponentProps as ZC, createPublishedFrom as ZS, SearchOperatorType as Z_, TimelineController as Za, useDocumentOperation as Zb, UserAvatarProps as Zc, getVariantPublishedSibling as Zd, getItemKey as Zf, parseRetryAfter as Zg, buildTextSelectionFromFragment as Zh, useDocumentValuePermissions as Zi, isPublishedPerspective as Zl, UnpublishDocumentEvent as Zm, VirtualizerScrollInstance as Zn, FieldCommentsProps as Zo, ChangeBreadcrumb as Zp, DocumentPreviewPresenceProps as Zr, FileLike as Zs, ObjectMembers as Zt, ComputeDiff as Zu, CommentsSelectedPathContextValue as Zv, ChangeIndicatorProps as Zx, LocaleDefinition as Zy, useMiddlewareComponents as _, CommandList as _C, DraftsModelDocumentAvailability as _S, FormDecPatch as __, createDocumentStore as _a, useTemplates as _b, defaultRenderItem as _c, FormFieldGroup as _d, getSchemaTypeTitle as _f, useWorkspaceLoader as _g, UserColor as _h, useProjectDatasets as _i, DetailPreview as _l, DiffComponentResolver as _m, TextInputProps as _n, createObservableBufferedDocument as _o, DocumentChangeContextInstance as _p, FormCell as _r, PortableTextInputProps as _s, ReleaseActionComponent as _t, getTargetScopeId as _u, SearchTerms as _v, WelcomeEvent as _x, CommentTaskCreatePayload as _y, resolveSchemaTypes as a, isDraft as aC, isReleaseDocument as aS, ManifestWorkspaceInput as a_, Grant as aa, LocalesBundlesOption as ab, StudioReferenceInputProps as ac, ObjectRenderMembersCallback as ad, LegacyThemeProps as af, CommentsContextValue as ag, isPublishDocumentVersionEvent as ah, useDocumentPresence as ai, StatusButton as al, Annotation as am, MemberItemError as an, CommitError as ao, pathToString as ap, FieldActionsProps as ar, ArrayOfPrimitivesInputProps as as, SchemaPluginOptions as at, PUBLISHED as au, SearchOperatorButtonValue as av, WorkspacesProviderProps as aw, InitialSnapshotEvent as ax, CommentDocument as ay, AssetSourceResolver as b, CommandListGetItemKeyCallback as bC, InvalidationChannelEvent as bS, FormInsertPatch as b_, listenQuery as ba, Serializeable as bb, EditReferenceOptions as bc, resolveConditionalProperty as bd, ScheduledBadge as bf, useWorkspace as bg, UserId as bh, getProjectGrants as bi, DefaultPreviewProps as bl, FieldOperationsAPI as bm, TagsArrayInput as bn, getPreviewStateObservable as bo, MetaInfo as bp, FormInputAbsolutePathArg as br, StringInputProps as bs, ReleaseActionsContext as bt, useSetVariant as bu, SearchPopover as bv, DocumentMutationEvent as bx, CommentUpdateOperationOptions as by, createWorkspaceFromConfig as c, isSystemBundle as cC, DocumentPreviewStoreOptions as cS, CopyPasteProvider as c_, useResolveInitialValueForType as ca, TFunction$1 as cb, FormProvider as cc, ArrayItemError as cd, TasksUpsellContextValue as cf, COMMENTS_INSPECTOR_NAME as cg, isUnscheduleDocumentVersionEvent as ch, useDocumentPreviewStore as ci, TemplatePreview as cl, ArrayItemMetadata as cm, ArrayOfObjectsItem as cn, MutationResult as co, resolveDiffComponent as cp, FieldActionMenu as cr, ComplexElementProps as cs, SourceClientOptions as ct, useDocumentVersionInfo as cu, SearchValueFormatterContext as cv, CookielessCompatibleLoginMethod as cw, MutationPerformanceEvent as cx, CommentListBreadcrumbs as cy, flattenConfig as d, newDraftFrom as dC, ApiConfig as dS, CopyOptions as d_, selectUpstreamVersion as da, Rule as db, FormBuilderProps as dc, IncompatibleTypeError as dd, MentionUserContextValue as df, CommentInputHandle as dg, UserColorManagerProviderProps as dh, useHistoryStore as di, InlinePreviewProps as dl, ChangeTitlePath as dm, ArrayOfObjectsInputMembersProps as dn, WithVersion as do, isAddedItemDiff as dp, useGetFormValue as dr, InputProps as ds, Tool as dt, RELEASES_INTENT as du, defineSearchOperator as dv, useAgentVersionDisplay as dw, IdPair as dx, CommentPath as dy, getIdPair as eC, useVersionOperations as eS, isUnauthorizedError as e_, getDocumentPairPermissions as ea, LocaleResourceBundle as eb, UploadProgressEvent as ec, NodeChronologyProps as ed, ReactHook as ef, useCommentsTelemetry as eg, isCreateDocumentVersionEvent as eh, ResourceCache as ei, ZIndexContextValue as el, DiffVisitor as em, ObjectInputMemberProps as en, Timeline as eo, isEmptyObject as ep, ArrayOfObjectsFunctions as er, ObjectFieldProps as es, PreparedConfig as et, isReleasePerspective as eu, I18nSearchOperatorNameKey as ev, RequestErrorReportOptions as ew, EditStateFor as ex, CommentsEnabledProvider as ey, PluginFactory as f, removeDupes as fC, AvailabilityReason as fS, CopyPasteContextType as f_, isNewDocument as fa, UserListWithPermissionsHookValue as fb, defaultRenderAnnotation as fc, InvalidItemTypeError as fd, DEFAULT_STUDIO_CLIENT_OPTIONS as ff, CommentInputProps as fg, UserColorManagerOptions as fh, useKeyValueStore as fi, BlockPreview as fl, Chunk as fm, ArrayOfObjectsInputMember as fn, checkoutPair as fo, isFieldChange as fp, FormValueContextValue as fr, NumberInputProps as fs, Workspace as ft, DEFAULT_ANNOTATIONS as fu, createSearch as fv, isAgentBundleName as fw, MutationEvent as fx, CommentPostPayload as fy, defineConfig as g, ContextMenuButton as gC, DraftsModelDocument as gS, PatchEvent as g_, QueryParams$1 as ga, useTools as gb, defaultRenderInput as gc, UndeclaredMembersError as gd, useSingleDocRelease as gf, WorkspaceLoaderBoundary as gg, HexColor as gh, useUserStore as gi, MediaPreviewProps as gl, DiffComponentOptions as gm, TextInput as gn, CommitRequest as go, noop as gp, useDocumentDivergences as gr, PasteData$1 as gs, WorkspaceSummary as gt, getPairTarget as gu, SearchSort as gv, createSanityMediaLibraryImageSource as gw, WelcomeBackEvent as gx, CommentStatus as gy, createConfig as h, getDocumentVariantType as hC, DocumentStackAvailability as hS, SanityClipboardItem as h_, DocumentStoreOptions as ha, useUserListWithPermissions as hb, defaultRenderInlineBlock as hc, TypeAnnotationMismatchError as hd, SingleDocReleaseProvider as hf, UpsellData as hg, useUserColorManager as hh, useRenderingContextStore as hi, MediaPreview as hl, DiffComponent as hm, UrlInputProps as hn, createBufferedDocument as ho, isUnchangedDiff as hp, DivergencesProvider as hr, OnPathFocusPayload as hs, WorkspaceOptions as ht, TargetDocumentState as hu, SearchOptions as hv, createSanityMediaLibraryFileSource as hw, ResetEvent as hx, CommentReactionShortNames as hy, SchemaError as i, idMatchesPerspective as iC, VersionInfoDocumentStub as iS, generateStudioManifest as i_, EvaluationParams as ia, LocaleWeekInfo as ib, StudioReferenceInput as ic, ObjectFormNode as id, buildLegacyTheme as if, useComments as ig, isEditDocumentVersionEvent as ih, useGlobalPresence as ii, TextWithToneProps as il, visitDiff as im, MemberFieldProps as in, Transaction as io, normalizePathSegment as ip, useFieldActions as ir, ArrayOfPrimitivesElementType as is, ScheduledPublishingPluginOptions as it, LATEST as iu, SearchOperatorBuilder as iv, WorkspacesProvider as iw, DocumentStoreExtraOptions as ix, CommentCreatePayload as iy, DocumentActionsResolver as j, ConnectionStatus as jC, ReleaseTitle as jS, ToolLinkProps as j_, OperationSuccess as ja, TemplateFieldDefinition as jb, useFormCallbacks as jc, isVariantVersion as jd, DocumentActionDialogProps as jf, isValidAnnouncementRole as jg, FeedbackPayload as jh, PresenceLocation as ji, PreviewCardContextValue as jl, StringSegmentUnchanged$1 as jm, UpdateReadOnlyPlugin as jn, isArrayOfObjectsInputProps as jo, DiffTooltipProps as jp, FormFieldProps as jr, ItemProps as js, DocumentFieldAction as jt, FormState as ju, StudioColorScheme as jv, useConditionalToast as jx, validateDocument as jy, DefaultPluginsWorkspaceOptions as k, ConnectedStatus as kC, VersionInlineBadge as kS, PatchArg as k_, remoteSnapshots as ka, Template as kb, FormCallbacksProvider as kc, isPublishedVersion as kd, DocumentActionCustomDialogComponentProps as kf, StudioProviderProps as kg, BaseFeedbackTags as kh, DocumentPresence as ki, PreviewProps as kl, StringDiffSegment as km, PortableTextInput as kn, Preview as ko, Event$1 as kp, FormFieldHeaderTextProps as kr, RenderPreviewCallbackProps as ks, documentFieldActionsReducer as kt, SetActiveGroupOperation as ku, useColorSchemeSetValue as kv, connectionState as kx, useValidationStatus as ky, resolveConfig as l, isSystemBundleName as lC, ObserveForPreviewFn as lS, useCopyPaste as l_, useInitialValue as la, ValidationLocaleResourceKeys as lb, FormProviderProps as lc, DuplicateKeysError as ld, TasksContextValue as lf, CommentInputContextValue as lg, isUpdateLiveDocumentEvent as lh, useDocumentStore as li, TemplatePreviewProps as ll, BooleanDiff$1 as lm, MemberItemProps as ln, Pair as lo, useDocumentChange as lp, FieldActionMenuProps as lr, EditorChange as ls, SourceOptions as lt, useArchivedReleases as lu, ValuelessSearchOperatorBuilder as lv, LoginMethod as lw, getPairListener as lx, CommentMessage as ly, definePlugin as m, DocumentVariantType as mC, DocumentAvailability as mS, PasteOptions as m_, DocumentStore as ma, UserWithPermission as mb, defaultRenderField as mc, MixedArrayError as md, usePausedScheduledDraft as mf, CommentsUpsellContextValue as mg, useUserColor as mh, useProjectStore as mi, BlockImagePreviewProps as ml, Diff$1 as mm, UrlInput as mn, BufferedDocumentWrapper as mo, isRemovedItemDiff as mp, useFormValue as mr, OnPasteFn as ms, WorkspaceHiddenProperty as mt, ReleaseDocument$1 as mu, SearchFactoryOptions as mv, EditPortal as mw, ReconnectEvent as mx, CommentReactionOption as my, getConfigContextFromSource as n, getVersionFromId as nC, useDocumentVersionTypeSortedList as nS, uploadSchema as n_, useDocumentPairPermissionsFromHookFactory as na, LocaleResourceRecord as nb, UploaderDef as nc, NumberFormNode as nd, catchWithCount as nf, useCommentsEnabled as ng, isDeleteDocumentGroupEvent as nh, ResourceCacheProviderProps as ni, ToastParams$1 as nl, getAnnotationColor as nm, MemberFieldError as nn, CombinedDocument as no, normalizeIndexTupleSegment as np, useHoveredField as nr, StringFieldProps as ns, ResolveProductionUrlContext as nt, getReleaseTone as nu, OperatorInputComponentProps as nv, CorsCheckResult as nw, DocumentPairLoadedEvent as nx, CommentBaseCreatePayload as ny, CreateWorkspaceFromConfigOptions as o, isDraftId as oC, MetadataWrapper as oS, StudioManifest as o_, GrantsStore as oa, LocalesOption as ob, StudioCrossDatasetReferenceInput as oc, PrimitiveFormNode as od, LegacyThemeTints as of, hasCommentMessageValue as og, isScheduleDocumentVersionEvent as oh, useComlinkStore as oi, StatusButtonProps as ol, AnnotationDetails as om, ArrayOfPrimitivesItem as on, DocumentVersion as oo, pathsAreEqual as op, FieldActionsResolver as or, BaseInputProps as os, SingleWorkspace as ot, useReleasesIds as ou, SearchOperatorInput as ov, AuthConfig as ow, LatencyReportEvent as ox, CommentFieldCreatePayload as oy, createPlugin as p, systemBundles as pC, AvailabilityResponse as pS, DocumentMeta as p_, useDocumentValues as pa, UserListWithPermissionsOptions as pb, defaultRenderBlock as pc, MissingKeysError as pd, useScheduledDraftDocument as pf, CommentsList as pg, createUserColorManager as ph, usePresenceStore as pi, BlockImagePreview as pl, ChunkType as pm, ArrayOfObjectsMemberProps as pn, BufferedDocumentEvent as po, isGroupChange as pp, FormValueProvider as pr, ObjectInputProps as ps, WorkspaceHiddenContext as pt, DEFAULT_DECORATORS as pu, getSearchableTypes as pv, EnhancedObjectDialog as pw, PendingMutationsEvent as px, CommentReactionItem as py, MissingConfigFile as q, AuthProbeResult as qC, SystemBundle as qS, SearchContextValue as q_, HistoryStoreOptions as qa, DocumentSyncState as qb, ZIndexProvider as qc, isCardinalityOneRelease as qd, PerspectiveNotWriteableReason as qf, classifyRequestError as qg, CommonProps as qh, createGrantsStore as qi, DocumentStatus as ql, EventsStoreRevision as qm, ArrayOfPrimitiveOptionsInput as qn, ArrayFieldProps as qo, ChangeResolver as qp, RegionWithIntersectionDetails as qr, StudioImageInput as qs, toMutationPatches as qt, ArrayOfObjectsFormNode as qu, ActiveWorkspaceMatcher as qv, ChangeConnectorRoot as qx, LocaleProviderBase as qy, useConfigContextFromSource as r, getVersionId as rC, useDocumentVersions as rS, GenerateStudioManifestOptions as r_, DocumentValuePermission as ra, LocaleSource as rb, UploaderResolver as rc, ObjectArrayFormNode as rd, defaultTheme as rf, CommentsEnabledContextValue as rg, isDeleteDocumentVersionEvent as rh, useResourceCache as ri, TextWithTone as rl, getDiffAtPath as rm, MemberField as rn, DocumentRemoteMutationVersionEvent as ro, normalizeKeySegment as rp, HoveredFieldProvider as rr, ArrayOfObjectsInputProps as rs, SanityFormConfig as rt, getReleaseIdFromReleaseDocumentId as ru, SearchOperatorBase as rv, CorsProbeOutcome as rw, DocumentRebaseTelemetryEvent as rx, CommentContext as ry, createSourceFromConfig as s, isPublishedId as sC, DocumentPreviewStore as sS, StudioWorkspaceManifest as s_, PermissionCheckResult as sa, StaticLocaleResourceBundle as sb, StudioCrossDatasetReferenceInputProps as sc, StringFormNode as sd, useDocumentPreviewValues as sf, isTextSelectionComment as sg, isUnpublishDocumentEvent as sh, useConnectionStatusStore as si, Resizable as sl, ArrayDiff$1 as sm, PrimitiveMemberItemProps as sn, DocumentVersionEvent as so, stringToPath as sp, FieldActionsProvider as sr, BooleanInputProps as ss, Source as st, ReleasesUpsellContextValue as su, SearchOperatorParams as sv, AuthProvider as sw, ListenerEvent as sx, CommentIntentGetter as sy, ActiveWorkspaceMatcherContextValue as t, getPublishedId as tC, useFormatRelativeLocalePublishDate as tS, renderStudio as t_, useDocumentPairPermissions as ta, LocaleResourceKey as tb, Uploader as tc, NodeDiffProps as td, createHookFromObservableFactory as tf, useCommentsSelectedPath as tg, isCreateLiveDocumentEvent as th, ResourceCacheProvider as ti, ImperativeToast as tl, getAnnotationAtPath as tm, MemberFieldSet as tn, TimelineOptions as to, normalizeIndexSegment as tp, FormBuilderContextValue as tr, PrimitiveFieldProps as ts, ReleaseActionsResolver as tt, isGoingToUnpublish as tu, OperatorButtonValueComponentProps as tv, StudioErrorHandler as tw, editState$1 as tx, CommentsProvider as ty, prepareConfig as u, isVersionId as uC, createDocumentPreviewStore as uS, BaseOptions as u_, useInitialValueResolverContext as ua, StudioLocaleResourceKeys as ub, FormBuilder as uc, FieldError as ud, TasksNavigationContextValue as uf, CommentInput as ug, UserColorManagerProvider as uh, useGrantsStore as ui, InlinePreview as ul, ChangeNode as um, ArrayOfObjectsInputMembers as un, RemoteSnapshotVersionEvent as uo, emptyValuesByType as up, GetFormValueProvider as ur, InputOnSelectFileFunctionProps as us, TemplateResolver as ut, useActiveReleases as uu, ValuelessSearchOperatorParams as uv, AgentVersionDisplay as uw, DocumentPairTarget as ux, CommentOperations as uy, ActionComponent as v, CommandListElementType as vC, FieldName as vS, FormDiffMatchPatch as v_, ListenQueryOptions as va, DEFAULT_MAX_RECURSION_DEPTH as vb, defaultRenderPreview as vc, ProvenanceDiffAnnotation as vd, createSchema as vf, WorkspaceProvider as vg, UserColorHue as vh, useProject as vi, DetailPreviewProps as vl, DiffProps as vm, TelephoneInput as vn, prepareForPreview as vo, ValueError as vp, FormRow as vr, PrimitiveInputElementProps as vs, ReleaseActionDescription as vt, useTargetDocumentState as vu, compileFieldPath as vv, CommitFunction as vx, CommentTextSelection as vy, BetaFeatures as w, CommandListProps as wC, PreparedSnapshot as wS, FormPatchJSONValue as w_, InitialValueLoadingMsg as wa, resolveInitialValueForType as wb, useReferenceInputOptions as wc, isDocumentInSelectedVariant as wd, GetHookCollectionStateProps as wf, UpsellDialogLearnMoreCtaClicked as wg, UseFeedbackReturn as wh, ProjectOrganizationData as wi, GeneralPreviewLayoutKey as wl, NullDiff$1 as wm, SlugInputProps as wn, unstable_useObserveDocument as wo, FromToArrowDirection as wp, FieldStatusProps as wr, RenderBlockCallback as ws, DocumentInspectorMenuItem as wt, ParseError as wu, ColorSchemeProvider as wv, RemoteSnapshotEvent as wx, CommentsType as wy, AsyncComposableOption as x, CommandListGetItemSelectedCallback as xC, ObserveDocumentAvailabilityFn as xS, FormInsertPatchPosition as x_, InitialValueOptions as xa, isBuilder as xb, ReferenceInputOptions as xc, getDocumentIdForCanvasLink as xd, DocumentBadgeComponent as xf, InterpolationProp as xg, FeedbackContext as xh, ProjectData as xi, CompactPreview as xl, FromToIndex as xm, TagsArrayInputProps as xn, getPreviewPaths as xo, MetaInfoProps as xp, FormInputRelativePathArg as xr, RenderAnnotationCallback as xs, FormComponents as xt, useDocumentLimitsUpsellContext as xu, SearchPopoverProps as xv, DocumentRebaseEvent as xx, CommentUpdatePayload as xy, AppsOptions as y, CommandListGetItemDisabledCallback as yC, Id as yS, FormIncPatch as y_, ListenQueryParams as ya, RESOLVE_INITIAL_VALUE_TIMEOUT_MS as yb, EditReferenceLinkComponentProps as yc, ALL_FIELDS_GROUP as yd, SchedulesContext as yf, WorkspaceProviderProps as yg, UserColorManager as yh, createProjectStore as yi, DefaultPreview as yl, FieldChangeNode as ym, TelephoneInputProps as yn, getPreviewValueWithFallback as yo, RevertChangesButton as yp, FormInput as yr, PrimitiveInputProps as ys, ReleaseActionProps as yt, useAllVariants as yu, SearchResultItemPreview as yv, CommittedEvent as yx, CommentThreadItem as yy, DocumentLanguageFilterComponent as z, isCookielessCompatibleLoginMethod as zC, SelectedPerspective as zS, StudioComponents as z_, DocumentVersionSnapshots as za, useReferringDocuments as zb, dec as zc, asLoadable as zd, SanityDefinedAction as zf, useStudioErrorHandler as zg, DocumentGroupInventoryPerspectiveList as zh, KeyValueStore as zi, HotkeysProps$1 as zl, CreateDocumentVersionEvent as zm, DateTimeInputProps as zn, FormBuilderCustomMarkersComponent as zo, FieldPreviewComponent as zp, FieldPresenceProps as zr, BlockStyleProps as zs, DocumentFieldActionTone as zt, ArrayOfObjectsMember as zu, matchWorkspace as zv, TrackedChange as zx, useTranslation as zy };