/** * @rtif-sdk/react — headless React bindings for the RTIF editor: a stable handle * (`useEditor`), one host component (`EditorContent`), and live state hooks * (`useEditorState`, `useCommand`). No toolbar components — `useCommand` * makes a toolbar a few-line consumer exercise (see the README recipe). * * SSR-safe by construction: nothing touches the DOM at module scope or during * render; the editor is created in `EditorContent`'s browser-only effect. * Re-exports nothing from lower layers — import `@rtif-sdk/core` / `@rtif-sdk/web` * types from those packages directly. */ export { useEditor } from './use-editor.js'; export type { UseEditorConfig, EditorHandle } from './use-editor.js'; export { EditorContent } from './editor-content.js'; export { EditorProvider, useEditorContext } from './context.js'; export { useEditorState } from './use-editor-state.js'; export { useCommand } from './use-command.js'; export { useMentions } from './use-mentions.js'; export type { MentionPopupPosition, MentionsApi, MentionSource, UseMentionsOptions, } from './use-mentions.js'; export { MentionsPopup } from './mentions-popup.js'; export type { MentionRenderContext, MentionsPopupProps } from './mentions-popup.js'; export { useMediaUpload } from './use-media-upload.js'; export type { UseMediaUploadOptions, MediaUploadApi, MediaUploadState, MediaDropZoneProps, } from './use-media-upload.js'; //# sourceMappingURL=index.d.ts.map