@semiont/react-ui 0.2.35-build.96 → 0.2.35-build.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _semiont_core from '@semiont/core';
2
- import { components, ResourceUri, Selector, AnnotationUri, ResourceAnnotationUri, EventBus, ResourceEvent, EventMap, AnnotationProgress, StoredEvent, paths, Motivation as Motivation$9, GenerationProgress, GenerationContext } from '@semiont/core';
2
+ import { components, ResourceUri, Selector, AnnotationUri, ResourceAnnotationUri, ResourceEvent, EventMap, EventBus, AnnotationProgress, StoredEvent, paths, Motivation as Motivation$9, GenerationProgress, GenerationContext } from '@semiont/core';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import * as React$1 from 'react';
5
5
  import React__default, { ComponentType, ReactNode, KeyboardEvent as KeyboardEvent$1, Component, ErrorInfo } from 'react';
@@ -11,23 +11,20 @@ import { SemiontApiClient, ValidationResult } from '@semiont/api-client';
11
11
  import * as _codemirror_state from '@codemirror/state';
12
12
  import { HighlightStyle } from '@codemirror/language';
13
13
  import { WidgetType } from '@codemirror/view';
14
- import { Root } from 'hast';
15
- import { Root as Root$1 } from 'mdast';
16
- import { VFile } from 'vfile';
17
14
  import { TagSchema } from '@semiont/ontology';
18
15
  export { TAG_SCHEMAS, TagCategory, TagSchema, getAllTagSchemas, getSchemaCategory as getTagCategory, getTagSchema, getTagSchemasByDomain, isValidCategory } from '@semiont/ontology';
19
16
 
20
- type Annotation$m = components['schemas']['Annotation'];
17
+ type Annotation$n = components['schemas']['Annotation'];
21
18
  /**
22
19
  * Collection of all annotation types for a resource.
23
20
  * Replaces separate highlights, references, assessments, comments, tags props.
24
21
  */
25
22
  interface AnnotationsCollection {
26
- highlights: Annotation$m[];
27
- references: Annotation$m[];
28
- assessments: Annotation$m[];
29
- comments: Annotation$m[];
30
- tags: Annotation$m[];
23
+ highlights: Annotation$n[];
24
+ references: Annotation$n[];
25
+ assessments: Annotation$n[];
26
+ comments: Annotation$n[];
27
+ tags: Annotation$n[];
31
28
  }
32
29
  /**
33
30
  * Event handlers for annotation interactions.
@@ -35,7 +32,7 @@ interface AnnotationsCollection {
35
32
  */
36
33
  interface AnnotationHandlers {
37
34
  /** Unified click handler - routes based on annotation type and current mode */
38
- onClick?: (annotation: Annotation$m, event?: React.MouseEvent) => void;
35
+ onClick?: (annotation: Annotation$n, event?: React.MouseEvent) => void;
39
36
  /** Unified hover handler for all annotation types */
40
37
  onHover?: (annotationId: string | null) => void;
41
38
  /** Hover handler specifically for comment panel highlighting */
@@ -84,7 +81,7 @@ interface UICreateAnnotationParams {
84
81
  * - linking: Shows Quick Reference popup FIRST, creates when user confirms
85
82
  */
86
83
  interface AnnotationCreationHandler {
87
- onCreate?: (params: UICreateAnnotationParams) => void | Promise<void> | Promise<Annotation$m | undefined>;
84
+ onCreate?: (params: UICreateAnnotationParams) => void | Promise<void> | Promise<Annotation$n | undefined>;
88
85
  }
89
86
  /**
90
87
  * UI state for annotation toolbar and interactions.
@@ -99,8 +96,6 @@ interface AnnotationUIState {
99
96
  selectedShape: ShapeType;
100
97
  /** ID of currently hovered annotation (optional - only set when hovering) */
101
98
  hoveredAnnotationId?: string | null;
102
- /** ID of currently hovered comment for panel highlighting (optional - only set when hovering) */
103
- hoveredCommentId?: string | null;
104
99
  /** ID of annotation to scroll to (optional - only set when scrolling needed) */
105
100
  scrollToAnnotationId?: string | null;
106
101
  }
@@ -119,7 +114,7 @@ interface AnnotationConfig {
119
114
  annotateMode?: boolean;
120
115
  }
121
116
 
122
- type Annotation$l = components['schemas']['Annotation'];
117
+ type Annotation$m = components['schemas']['Annotation'];
123
118
  /**
124
119
  * Parameters for creating an annotation
125
120
  */
@@ -166,7 +161,7 @@ interface AnnotationManager {
166
161
  * @param params - Creation parameters (rUri, motivation, selector, body)
167
162
  * @returns Promise resolving to the created annotation, or undefined if creation fails
168
163
  */
169
- createAnnotation: (params: CreateAnnotationParams) => Promise<Annotation$l | undefined>;
164
+ createAnnotation: (params: CreateAnnotationParams) => Promise<Annotation$m | undefined>;
170
165
  /**
171
166
  * Delete an annotation
172
167
  * @param params - Deletion parameters (annotationId, rUri)
@@ -270,7 +265,7 @@ interface NavigationProps {
270
265
  */
271
266
 
272
267
  type SemiontResource$4 = components['schemas']['ResourceDescriptor'];
273
- type Annotation$k = components['schemas']['Annotation'];
268
+ type Annotation$l = components['schemas']['Annotation'];
274
269
  type Motivation$8 = components['schemas']['Motivation'];
275
270
  /**
276
271
  * Selection for creating annotations
@@ -298,7 +293,7 @@ interface TextSelection {
298
293
  * No aliasing, wrappers, or compatibility layers elsewhere.
299
294
  */
300
295
 
301
- type Annotation$j = components['schemas']['Annotation'];
296
+ type Annotation$k = components['schemas']['Annotation'];
302
297
  type Motivation$7 = components['schemas']['Motivation'];
303
298
  /**
304
299
  * Detection configuration for SSE-based annotation detection
@@ -335,7 +330,7 @@ interface Annotator {
335
330
  isClickable: boolean;
336
331
  hasHoverInteraction: boolean;
337
332
  hasSidePanel: boolean;
338
- matchesAnnotation: (annotation: Annotation$j) => boolean;
333
+ matchesAnnotation: (annotation: Annotation$k) => boolean;
339
334
  announceOnCreate: string;
340
335
  detection?: DetectionConfig;
341
336
  create: CreateConfig;
@@ -789,28 +784,40 @@ declare const jsonLightHighlightStyle: HighlightStyle;
789
784
  * CodeMirror Inline Widgets
790
785
  *
791
786
  * Custom widgets for enhancing the document editing experience:
792
- * - Wiki link pills (clickable, styled)
793
- * - Reference previews (hover for context)
794
- * - Entity type badges
787
+ * - Reference resolution indicators (resolved 🔗, generating ✨, stub ❓)
788
+ *
789
+ * Event handling uses delegation — no per-widget listeners.
790
+ * Data attributes on the container enable CodeMirrorRenderer to handle
791
+ * clicks and hovers via a single set of delegated handlers.
795
792
  */
796
793
 
797
- type Annotation$i = components['schemas']['Annotation'];
794
+ type Annotation$j = components['schemas']['Annotation'];
798
795
  /**
799
796
  * Reference Resolution Widget
800
- * Shows a small indicator next to references with hover preview
797
+ * Shows a small indicator next to references with hover preview.
798
+ *
799
+ * All event handling is delegated — the widget sets data attributes
800
+ * and CodeMirrorRenderer handles events via container-level listeners.
801
801
  */
802
802
  declare class ReferenceResolutionWidget extends WidgetType {
803
- readonly annotation: Annotation$i;
803
+ readonly annotation: Annotation$j;
804
804
  readonly targetDocumentName?: string | undefined;
805
- readonly eventBus?: EventBus | undefined;
806
805
  readonly isGenerating?: boolean | undefined;
807
- constructor(annotation: Annotation$i, targetDocumentName?: string | undefined, eventBus?: EventBus | undefined, isGenerating?: boolean | undefined);
806
+ constructor(annotation: Annotation$j, targetDocumentName?: string | undefined, isGenerating?: boolean | undefined);
808
807
  eq(other: ReferenceResolutionWidget): boolean;
809
808
  toDOM(): HTMLSpanElement;
810
- private showPreview;
811
- private hidePreview;
812
809
  ignoreEvent(event: Event): boolean;
813
810
  }
811
+ /**
812
+ * Show a tooltip preview on a widget container.
813
+ * Called from delegated mouseenter handler in CodeMirrorRenderer.
814
+ */
815
+ declare function showWidgetPreview(container: HTMLElement, documentName: string): void;
816
+ /**
817
+ * Hide the tooltip preview from a widget container.
818
+ * Called from delegated mouseleave handler in CodeMirrorRenderer.
819
+ */
820
+ declare function hideWidgetPreview(container: HTMLElement): void;
814
821
 
815
822
  type SelectionMotivation = 'linking' | 'highlighting' | 'assessing' | 'commenting' | 'tagging';
816
823
  type ClickAction = 'detail' | 'follow' | 'jsonld' | 'deleting';
@@ -936,14 +943,22 @@ declare const QUERY_KEYS: {
936
943
  };
937
944
  };
938
945
 
939
- declare function rehypeRenderAnnotations(): (tree: Root, file: any) => void;
940
-
941
946
  /**
942
- * Simplified annotation format for remark plugin.
943
- * This is NOT the W3C Annotation - it's a pre-processed format with offset/length
944
- * for efficient markdown text processing.
947
+ * Annotation overlay: decouples annotation highlighting from markdown rendering.
948
+ *
949
+ * Instead of weaving annotations into the markdown AST via remark/rehype plugins
950
+ * (which forces O(ASTnodes × annotations) work on every render), this module:
951
+ *
952
+ * 1. Builds a source→rendered offset map once after the markdown DOM paints
953
+ * 2. Resolves W3C TextPositionSelector offsets to DOM Ranges via binary search
954
+ * 3. Wraps matched ranges with <span> elements carrying data-annotation-* attributes
955
+ *
956
+ * Markdown renders once (cached by React.memo). Annotation changes only touch
957
+ * the overlay spans — no markdown re-parse, no AST walk.
945
958
  */
946
- interface PreparedAnnotation {
959
+
960
+ type Annotation$i = components['schemas']['Annotation'];
961
+ interface OverlayAnnotation {
947
962
  id: string;
948
963
  exact: string;
949
964
  offset: number;
@@ -951,10 +966,53 @@ interface PreparedAnnotation {
951
966
  type: string;
952
967
  source: string | null;
953
968
  }
954
- interface RemarkAnnotationsOptions {
955
- annotations: PreparedAnnotation[];
969
+ interface TextNodeEntry {
970
+ node: Text;
971
+ start: number;
972
+ end: number;
956
973
  }
957
- declare function remarkAnnotations(options: RemarkAnnotationsOptions): (tree: Root$1, _file: VFile) => void;
974
+ /**
975
+ * Build a map from markdown source offsets to rendered text offsets.
976
+ * Character-by-character alignment: walks source and rendered text in parallel,
977
+ * matching characters and skipping markdown syntax in the source.
978
+ *
979
+ * Complexity: O(sourceLength) — runs once per content change.
980
+ */
981
+ declare function buildSourceToRenderedMap(markdownSource: string, container: HTMLElement): Map<number, number>;
982
+ /**
983
+ * Build a sorted array of text nodes with cumulative rendered offsets
984
+ * for efficient offset→node lookups via binary search.
985
+ *
986
+ * Complexity: O(textNodes) — runs once per overlay application.
987
+ */
988
+ declare function buildTextNodeIndex(container: HTMLElement): TextNodeEntry[];
989
+ /**
990
+ * Resolve annotations to DOM Ranges using the cached offset map.
991
+ *
992
+ * Complexity: O(annotations × log(textNodes)).
993
+ */
994
+ declare function resolveAnnotationRanges(annotations: OverlayAnnotation[], offsetMap: Map<number, number>, textNodeIndex: TextNodeEntry[]): Map<string, {
995
+ range: Range;
996
+ annotation: OverlayAnnotation;
997
+ }>;
998
+ /**
999
+ * Wrap annotation Ranges with styled <span> elements.
1000
+ * Handles cross-element ranges by splitting into per-text-node segments.
1001
+ */
1002
+ declare function applyHighlights(ranges: Map<string, {
1003
+ range: Range;
1004
+ annotation: OverlayAnnotation;
1005
+ }>): void;
1006
+ /**
1007
+ * Remove all annotation highlight spans, restoring the original DOM.
1008
+ * Unwraps spans and merges adjacent text nodes.
1009
+ */
1010
+ declare function clearHighlights(container: HTMLElement): void;
1011
+ /**
1012
+ * Convert W3C Annotations to the simplified overlay format.
1013
+ * Extracts TextPositionSelector offsets and annotation type.
1014
+ */
1015
+ declare function toOverlayAnnotations(annotations: Annotation$i[]): OverlayAnnotation[];
958
1016
 
959
1017
  /**
960
1018
  * Resource utilities
@@ -1684,7 +1742,6 @@ interface Props$b {
1684
1742
  editable?: boolean;
1685
1743
  newAnnotationIds?: Set<string>;
1686
1744
  hoveredAnnotationId?: string | null;
1687
- hoveredCommentId?: string | null;
1688
1745
  scrollToAnnotationId?: string | null;
1689
1746
  sourceView?: boolean;
1690
1747
  showLineNumbers?: boolean;
@@ -1694,7 +1751,7 @@ interface Props$b {
1694
1751
  generatingReferenceId?: string | null;
1695
1752
  hoverDelayMs: number;
1696
1753
  }
1697
- declare function CodeMirrorRenderer({ content, segments, onChange, editable, newAnnotationIds, hoveredAnnotationId, hoveredCommentId, scrollToAnnotationId, sourceView, showLineNumbers, enableWidgets, eventBus, getTargetDocumentName, generatingReferenceId, hoverDelayMs }: Props$b): react_jsx_runtime.JSX.Element;
1754
+ declare function CodeMirrorRenderer({ content, segments, onChange, editable, newAnnotationIds, hoveredAnnotationId, scrollToAnnotationId, sourceView, showLineNumbers, enableWidgets, eventBus, getTargetDocumentName, generatingReferenceId, hoverDelayMs }: Props$b): react_jsx_runtime.JSX.Element;
1698
1755
 
1699
1756
  type Motivation$6 = components['schemas']['Motivation'];
1700
1757
  interface AnnotateReferencesProgressWidgetProps {
@@ -2002,13 +2059,16 @@ interface Props$6 {
2002
2059
  resourceUri: string;
2003
2060
  annotations: AnnotationsCollection;
2004
2061
  hoveredAnnotationId?: string | null;
2005
- hoveredCommentId?: string | null;
2006
2062
  selectedClick?: ClickAction;
2007
2063
  annotateMode: boolean;
2008
2064
  hoverDelayMs?: number;
2009
2065
  }
2010
2066
  /**
2011
- * View component for browsing annotated resources in read-only mode
2067
+ * View component for browsing annotated resources in read-only mode.
2068
+ *
2069
+ * Two-layer rendering:
2070
+ * - Layer 1: Markdown renders once (MemoizedMarkdown, cached by content)
2071
+ * - Layer 2: Annotation overlay applied via DOM Range API after paint
2012
2072
  *
2013
2073
  * @emits attend:click - User clicked on annotation. Payload: { annotationId: string, motivation: Motivation }
2014
2074
  * @emits attend:hover - User hovered over annotation. Payload: { annotationId: string | null }
@@ -2016,7 +2076,7 @@ interface Props$6 {
2016
2076
  * @subscribes attend:hover - Highlight annotation on hover. Payload: { annotationId: string | null }
2017
2077
  * @subscribes attend:focus - Scroll to and highlight annotation. Payload: { annotationId: string }
2018
2078
  */
2019
- declare function BrowseView({ content, mimeType, resourceUri, annotations, selectedClick, annotateMode, hoverDelayMs }: Props$6): react_jsx_runtime.JSX.Element;
2079
+ declare const BrowseView: React$1.NamedExoticComponent<Props$6>;
2020
2080
 
2021
2081
  type TranslateFn$4 = (key: string, params?: Record<string, string | number>) => string;
2022
2082
  interface Props$5 {
@@ -3893,4 +3953,4 @@ interface ResolutionFlowState {
3893
3953
  */
3894
3954
  declare function useResolutionFlow(rUri: ResourceUri): ResolutionFlowState;
3895
3955
 
3896
- export { ANNOTATORS, AUTH_EVENTS, AVAILABLE_LOCALES, AdminDevOpsPage, type AdminDevOpsPageProps, AdminSecurityPage, type AdminSecurityPageProps, type AdminUser, type AdminUserStats, AdminUsersPage, type AdminUsersPageProps, AnnotateReferencesProgressWidget, AnnotateToolbar, AnnotateView, type Annotation$k as Annotation, type AnnotationConfig, type AnnotationCreationHandler, type AnnotationFlowState, type AnnotationHandlers, AnnotationHistory, type AnnotationManager, AnnotationOverlay, AnnotationProvider, type AnnotationProviderProps, type AnnotationUIState, type AnnotationsCollection, type Annotator, ApiClientProvider, type ApiClientProviderProps, AssessmentEntry, AssessmentPanel, AssistSection, AsyncErrorBoundary, type AttentionFlowState, AuthErrorDisplay, type AuthErrorDisplayProps, type AuthEventDetail, type AuthEventType, AuthTokenProvider, type AuthTokenProviderProps, type AvailableLocale, type BorderRadiusToken, BrowseView, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type CacheManager, CacheProvider, type CacheProviderProps, type ClickAction, CodeMirrorRenderer, CollaborationPanel, CollapsibleResourceNavigation, type CollapsibleResourceNavigationProps, type ColorToken, CommentEntry, CommentsPanel, ComposeLoadingState, type ComposeLoadingStateProps, type ContextCorrelationFlowConfig, type ContextCorrelationFlowState, type CreateAnnotationParams, type CreateConfig, type DeleteAnnotationParams, type DetectionConfig, type DevOpsFeature, type DrawingMode, EntityTagsPage, type EntityTagsPageProps, EntityTypeBadges, ErrorBoundary, Footer, type GenerationFlowState, type GenerationOptions, HOVER_DELAY_MS, HighlightEntry, HighlightPanel, HistoryEvent, type HoverEmitterProps, type HoverHandlers, ImageURLSchema, ImageViewer, JsonLdPanel, JsonLdView, type KeyboardShortcut, KeyboardShortcutsHelpModal, LeftSidebar, type LinkComponentProps, LiveRegionProvider, type Motivation$8 as Motivation, type NavigationItem, NavigationMenu, type NavigationMenuHelper, type NavigationProps, type OAuthProvider, type OAuthUser, OAuthUserSchema, ObservableLink, type ObservableLinkProps, type OpenResource, OpenResourcesManager, OpenResourcesProvider, PageLayout, PanelHeader, type PanelNavigationState, PopupContainer, PopupHeader, type PreparedAnnotation, ProposeEntitiesModal, QUERY_KEYS, RecentDocumentsPage, type RecentDocumentsPageProps, ReferenceEntry, ReferenceResolutionWidget, ReferencesPanel, ResizeHandle, type ResolutionFlowState, type ResolvedTheme, ResourceAnnotationsProvider, ResourceCard, type ResourceCardProps, ResourceComposePage, type ResourceComposePageProps, ResourceDiscoveryPage, type ResourceDiscoveryPageProps, ResourceErrorState, type ResourceErrorStateProps, ResourceInfoPanel, ResourceLoadingState, ResourceSearchModal, type ResourceSearchModalProps, ResourceTagsInline, ResourceViewer, ResourceViewerPage, type ResourceViewerPageProps, type RouteBuilder, type SaveResourceParams, SearchModal, type SearchModalProps, SelectedTextDisplay, type SelectionMotivation, type SelectorType, SemiontBranding, SemiontFavicon, type SemiontResource$4 as SemiontResource, SessionExpiryBanner, SessionManager, SessionProvider, SessionTimer, SettingsPanel, type ShadowToken, type ShapeType, SignInForm, type SignInFormProps, SignUpForm, type SignUpFormProps, SimpleNavigation, type SimpleNavigationItem, type SimpleNavigationProps, SkipLinks, SortableResourceTab, type SortableResourceTabProps, type SpacingToken, StatisticsPanel, StatusDisplay, type StreamStatus, SvgDrawingCanvas, TagEntry, TagSchemasPage, type TagSchemasPageProps, TaggingPanel, type TextSegment, type TextSelection, type Theme, ThemeProvider, ToastContainer, type ToastMessage, ToastProvider, type ToastType, Toolbar, type ToolbarPanelType, type TransitionToken, TranslationManager, TranslationProvider, type TranslationProviderProps, type TypographyToken, type UICreateAnnotationParams, UnifiedAnnotationsPanel, UnifiedHeader, type UseResourceContentResult, UserMenuSkeleton, WelcomePage, type WelcomePageProps, buttonStyles, createHoverHandlers, cssVariables, dispatch401Error, dispatch403Error, dispatchAuthEvent, faviconPaths, formatTime, generateCSSVariables, getResourceIcon, getSelectedShapeForSelectorType, getSelectorType, getShortcutDisplay, getSupportedShapes, isShapeSupported, jsonLightHighlightStyle, jsonLightTheme, onAuthEvent, rehypeRenderAnnotations, remarkAnnotations, sanitizeImageURL, saveSelectedShapeForSelectorType, supportsDetection, tokens, useAdmin, useAnnotationFlow, useAnnotationManager, useAnnotations, useApiClient, useAttentionFlow, useAuthApi, useAuthToken, useCacheManager, useContextCorrelationFlow, useDebounce, useDebouncedCallback, useDocumentAnnouncements, useDoubleKeyPress, useDropdown, useEntityTypes, useEventSubscription, useEventSubscriptions, useFormAnnouncements, useGenerationFlow, useHealth, useHoverDelay, useHoverEmitter, useIsTyping, useKeyboardShortcuts, useLanguageChangeAnnouncements, useLineNumbers, useLiveRegion, useLoadingState, useLocalStorage, useObservableExternalNavigation, useObservableRouter, useOpenResources, usePanelNavigation, usePanelWidth, usePreloadTranslations, useResolutionFlow, useResourceAnnotations, useResourceContent, useResourceEvents, useResourceLoadingAnnouncements, useResources, useRovingTabIndex, useSearchAnnouncements, useSessionContext, useSessionExpiry, useTheme, useToast, useTranslations };
3956
+ export { ANNOTATORS, AUTH_EVENTS, AVAILABLE_LOCALES, AdminDevOpsPage, type AdminDevOpsPageProps, AdminSecurityPage, type AdminSecurityPageProps, type AdminUser, type AdminUserStats, AdminUsersPage, type AdminUsersPageProps, AnnotateReferencesProgressWidget, AnnotateToolbar, AnnotateView, type Annotation$l as Annotation, type AnnotationConfig, type AnnotationCreationHandler, type AnnotationFlowState, type AnnotationHandlers, AnnotationHistory, type AnnotationManager, AnnotationOverlay, AnnotationProvider, type AnnotationProviderProps, type AnnotationUIState, type AnnotationsCollection, type Annotator, ApiClientProvider, type ApiClientProviderProps, AssessmentEntry, AssessmentPanel, AssistSection, AsyncErrorBoundary, type AttentionFlowState, AuthErrorDisplay, type AuthErrorDisplayProps, type AuthEventDetail, type AuthEventType, AuthTokenProvider, type AuthTokenProviderProps, type AvailableLocale, type BorderRadiusToken, BrowseView, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type CacheManager, CacheProvider, type CacheProviderProps, type ClickAction, CodeMirrorRenderer, CollaborationPanel, CollapsibleResourceNavigation, type CollapsibleResourceNavigationProps, type ColorToken, CommentEntry, CommentsPanel, ComposeLoadingState, type ComposeLoadingStateProps, type ContextCorrelationFlowConfig, type ContextCorrelationFlowState, type CreateAnnotationParams, type CreateConfig, type DeleteAnnotationParams, type DetectionConfig, type DevOpsFeature, type DrawingMode, EntityTagsPage, type EntityTagsPageProps, EntityTypeBadges, ErrorBoundary, Footer, type GenerationFlowState, type GenerationOptions, HOVER_DELAY_MS, HighlightEntry, HighlightPanel, HistoryEvent, type HoverEmitterProps, type HoverHandlers, ImageURLSchema, ImageViewer, JsonLdPanel, JsonLdView, type KeyboardShortcut, KeyboardShortcutsHelpModal, LeftSidebar, type LinkComponentProps, LiveRegionProvider, type Motivation$8 as Motivation, type NavigationItem, NavigationMenu, type NavigationMenuHelper, type NavigationProps, type OAuthProvider, type OAuthUser, OAuthUserSchema, ObservableLink, type ObservableLinkProps, type OpenResource, OpenResourcesManager, OpenResourcesProvider, type OverlayAnnotation, PageLayout, PanelHeader, type PanelNavigationState, PopupContainer, PopupHeader, ProposeEntitiesModal, QUERY_KEYS, RecentDocumentsPage, type RecentDocumentsPageProps, ReferenceEntry, ReferenceResolutionWidget, ReferencesPanel, ResizeHandle, type ResolutionFlowState, type ResolvedTheme, ResourceAnnotationsProvider, ResourceCard, type ResourceCardProps, ResourceComposePage, type ResourceComposePageProps, ResourceDiscoveryPage, type ResourceDiscoveryPageProps, ResourceErrorState, type ResourceErrorStateProps, ResourceInfoPanel, ResourceLoadingState, ResourceSearchModal, type ResourceSearchModalProps, ResourceTagsInline, ResourceViewer, ResourceViewerPage, type ResourceViewerPageProps, type RouteBuilder, type SaveResourceParams, SearchModal, type SearchModalProps, SelectedTextDisplay, type SelectionMotivation, type SelectorType, SemiontBranding, SemiontFavicon, type SemiontResource$4 as SemiontResource, SessionExpiryBanner, SessionManager, SessionProvider, SessionTimer, SettingsPanel, type ShadowToken, type ShapeType, SignInForm, type SignInFormProps, SignUpForm, type SignUpFormProps, SimpleNavigation, type SimpleNavigationItem, type SimpleNavigationProps, SkipLinks, SortableResourceTab, type SortableResourceTabProps, type SpacingToken, StatisticsPanel, StatusDisplay, type StreamStatus, SvgDrawingCanvas, TagEntry, TagSchemasPage, type TagSchemasPageProps, TaggingPanel, type TextSegment, type TextSelection, type Theme, ThemeProvider, ToastContainer, type ToastMessage, ToastProvider, type ToastType, Toolbar, type ToolbarPanelType, type TransitionToken, TranslationManager, TranslationProvider, type TranslationProviderProps, type TypographyToken, type UICreateAnnotationParams, UnifiedAnnotationsPanel, UnifiedHeader, type UseResourceContentResult, UserMenuSkeleton, WelcomePage, type WelcomePageProps, applyHighlights, buildSourceToRenderedMap, buildTextNodeIndex, buttonStyles, clearHighlights, createHoverHandlers, cssVariables, dispatch401Error, dispatch403Error, dispatchAuthEvent, faviconPaths, formatTime, generateCSSVariables, getResourceIcon, getSelectedShapeForSelectorType, getSelectorType, getShortcutDisplay, getSupportedShapes, hideWidgetPreview, isShapeSupported, jsonLightHighlightStyle, jsonLightTheme, onAuthEvent, resolveAnnotationRanges, sanitizeImageURL, saveSelectedShapeForSelectorType, showWidgetPreview, supportsDetection, toOverlayAnnotations, tokens, useAdmin, useAnnotationFlow, useAnnotationManager, useAnnotations, useApiClient, useAttentionFlow, useAuthApi, useAuthToken, useCacheManager, useContextCorrelationFlow, useDebounce, useDebouncedCallback, useDocumentAnnouncements, useDoubleKeyPress, useDropdown, useEntityTypes, useEventSubscription, useEventSubscriptions, useFormAnnouncements, useGenerationFlow, useHealth, useHoverDelay, useHoverEmitter, useIsTyping, useKeyboardShortcuts, useLanguageChangeAnnouncements, useLineNumbers, useLiveRegion, useLoadingState, useLocalStorage, useObservableExternalNavigation, useObservableRouter, useOpenResources, usePanelNavigation, usePanelWidth, usePreloadTranslations, useResolutionFlow, useResourceAnnotations, useResourceContent, useResourceEvents, useResourceLoadingAnnouncements, useResources, useRovingTabIndex, useSearchAnnouncements, useSessionContext, useSessionExpiry, useTheme, useToast, useTranslations };