/** * RevealUI Rich Text Editor - Client Components * * Provides React components for the Lexical editor. * Uses vanilla @lexical/react packages. */ export { CodeHighlightNode, CodeNode } from '@lexical/code'; export { AutoLinkNode, LinkNode } from '@lexical/link'; export { ListItemNode, ListNode } from '@lexical/list'; export { AutoFocusPlugin } from '@lexical/react/LexicalAutoFocusPlugin'; export { CheckListPlugin } from '@lexical/react/LexicalCheckListPlugin'; export { LexicalComposer } from '@lexical/react/LexicalComposer'; export { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext'; export { ContentEditable } from '@lexical/react/LexicalContentEditable'; export { LexicalErrorBoundary } from '@lexical/react/LexicalErrorBoundary'; export { HistoryPlugin } from '@lexical/react/LexicalHistoryPlugin'; export { LinkPlugin } from '@lexical/react/LexicalLinkPlugin'; export { ListPlugin } from '@lexical/react/LexicalListPlugin'; export { OnChangePlugin } from '@lexical/react/LexicalOnChangePlugin'; export { RichTextPlugin } from '@lexical/react/LexicalRichTextPlugin'; export { HeadingNode, QuoteNode } from '@lexical/rich-text'; export { $insertNodeToNearestRoot, mergeRegister } from '@lexical/utils'; export { ImageNodeComponent } from './components/ImageNodeComponent.js'; export { ImageUploadButton } from './components/ImageUploadButton.js'; export type { ImageNodeData, SerializedImageNode } from './nodes/ImageNode.js'; export { $createImageNode, $isImageNode, ImageNode, INSERT_IMAGE_COMMAND, OPEN_IMAGE_UPLOAD_COMMAND, } from './nodes/ImageNode.js'; export type { CollaborationPluginProps } from './plugins/CollaborationPlugin.js'; export { CollaborationPlugin } from './plugins/CollaborationPlugin.js'; export type { FloatingToolbarPluginProps } from './plugins/FloatingToolbarPlugin.js'; export { FloatingToolbarPlugin } from './plugins/FloatingToolbarPlugin.js'; export { ImagePlugin } from './plugins/ImagePlugin.js'; export { PastePlugin } from './plugins/PastePlugin.js'; export type { ToolbarPluginProps } from './plugins/ToolbarPlugin.js'; export { ToolbarPlugin } from './plugins/ToolbarPlugin.js'; export type { RichTextEditorProps } from './RichTextEditor.js'; export { RichTextEditor, richTextEditorStyles } from './RichTextEditor.js'; export declare const BoldFeatureClient: () => null; export declare const ItalicFeatureClient: () => null; export declare const UnderlineFeatureClient: () => null; export declare const StrikethroughFeatureClient: () => null; export declare const SubscriptFeatureClient: () => null; export declare const SuperscriptFeatureClient: () => null; export declare const InlineCodeFeatureClient: () => null; export declare const HeadingFeatureClient: () => null; export declare const ParagraphFeatureClient: () => null; export declare const AlignFeatureClient: () => null; export declare const IndentFeatureClient: () => null; export declare const UnorderedListFeatureClient: () => null; export declare const OrderedListFeatureClient: () => null; export declare const ChecklistFeatureClient: () => null; export declare const LinkFeatureClient: () => null; export declare const RelationshipFeatureClient: () => null; export declare const BlockquoteFeatureClient: () => null; export declare const UploadFeatureClient: () => null; export declare const HorizontalRuleFeatureClient: () => null; export declare const InlineToolbarFeatureClient: () => null; export declare const FixedToolbarFeatureClient: () => null; export declare const TreeViewFeatureClient: () => null; export declare const BlocksFeatureClient: () => null; export declare const slashMenuBasicGroupWithItems: (items: unknown[]) => { items: unknown[]; }; export declare const toolbarAddDropdownGroupWithItems: (items: unknown[]) => { items: unknown[]; }; export interface ClientFeatureConfig { plugins?: Array<{ Component: React.ComponentType; position?: 'normal' | 'bottom' | 'top'; }>; nodes?: unknown[]; toolbarFixed?: { groups?: unknown[]; }; toolbarInline?: { groups?: unknown[]; }; slashMenu?: { groups?: unknown[]; }; } export declare const createClientFeature: (config: ClientFeatureConfig) => ClientFeatureConfig; export interface EditorConfig { namespace: string; theme?: Record; onError?: (error: Error) => void; nodes?: unknown[]; } export type { LexicalEditor } from 'lexical'; export type PluginComponent> = React.FC; export { DecoratorBlockNode, type SerializedDecoratorBlockNode, } from './nodes/DecoratorBlockNode.js'; //# sourceMappingURL=index.d.ts.map