import type { EditorState, LexicalEditor } from "lexical"; export declare const setupRichText: (editor: LexicalEditor, initialEditorState?: string | EditorState | (() => void) | null | undefined) => void;