/** * `superdoc/ui` — browser-only UI controller for SuperDoc. * * The architectural counterpart to the Document API contract: * * - `editor.doc.*` — request/response operations, runs server + client * - `createSuperDocUI({ superdoc })` — browser-only state controller * * Domain namespaces (`ui.toolbar`, `ui.commands`, `ui.comments`, * `ui.trackChanges`, `ui.viewport`, `ui.selection`) are filed as * sibling tickets under SD-2667 and layer on top of the `ui.select` * substrate exported here. * * Source lives in `packages/super-editor/src/ui/`; the public sub-entry * is `superdoc/ui` (re-exported from `packages/superdoc/src/ui.js`), * mirroring the `superdoc/headless-toolbar` pattern. */ export { createSuperDocUI } from './create-super-doc-ui.js'; export { shallowEqual } from './equality.js'; export { BUILT_IN_COMMAND_IDS } from '../headless-toolbar/types.js'; export type { PublicToolbarItemId } from '../headless-toolbar/types.js'; export type { TextTarget, TextSegment, TextAddress, SelectionTarget, SelectionPoint, EntityAddress, CommentAddress, TrackedChangeAddress, SelectionInfo, CommentInfo, CommentsListQuery, CommentsListResult, TrackChangeInfo, TrackChangesListResult, Receipt, ScrollIntoViewInput, ScrollIntoViewOutput, } from '../../../document-api/src/index.js'; export type { EqualityFn, SelectorFn, Subscribable, SuperDocEditorLike, SuperDocLike, SuperDocUI, SuperDocUIOptions, SuperDocUIScope, SuperDocUIState, SelectionAnchorRectOptions, SelectionCapture, SelectionHandle, SelectionRestoreResult, SelectionSlice, CommandHandle, CommandsHandle, ContextMenuContribution, ContextMenuItem, ContextMenuWhenInput, CustomCommandHandle, CustomCommandHandleState, CustomCommandRegistration, CustomCommandRegistrationResult, DynamicCommandHandle, ToolbarCommandHandleState, ToolbarHandle, ToolbarSnapshotSlice, UIToolbarCommandState, CommentsHandle, CommentsSlice, TrackChangesHandle, TrackChangesItem, TrackChangesSlice, ContentControlsHandle, ContentControlsSlice, MetadataHandle, ContentControlViewportAddress, ViewportContext, ViewportContextAtInput, ViewportEntityAddress, ViewportEntityAtInput, ViewportEntityHit, ViewportGetRectInput, ViewportHandle, ViewportPositionAtInput, ViewportPositionHit, ViewportRect, ViewportRectResult, DocumentExportInput, DocumentHandle, DocumentSlice, } from './types.js'; //# sourceMappingURL=index.d.ts.map