import { EditorState, EditorThemeClasses, Klass, LexicalEditor, LexicalNode, LexicalNodeReplacement, HTMLConfig } from "lexical"; import { JSX, ParentProps } from "solid-js"; export type InitialEditorStateType = null | string | EditorState | ((editor: LexicalEditor) => void); export type InitialConfigType = Readonly<{ namespace: string; nodes?: ReadonlyArray | LexicalNodeReplacement>; onError: (error: Error, editor: LexicalEditor) => void; editable?: boolean; theme?: EditorThemeClasses; editorState?: InitialEditorStateType; html?: HTMLConfig; }>; type Props = ParentProps<{ initialConfig: InitialConfigType; }>; export declare function LexicalComposer(props: Props): JSX.Element; export {};