import type { EditorThemeClasses, LexicalEditor } from "lexical"; type LexicalComposerContextType = { getTheme: () => EditorThemeClasses | null; }; type LexicalComposerContextWithEditor = [ LexicalEditor, LexicalComposerContextType ]; declare function createLexicalComposerContext(parent: LexicalComposerContextWithEditor | null | undefined, theme: EditorThemeClasses | null | undefined): LexicalComposerContextType; declare const LexicalComposerContext: import("solid-js").Context; declare const useLexicalComposerContext: () => LexicalComposerContextWithEditor; export { LexicalComposerContext, createLexicalComposerContext, useLexicalComposerContext, }; export type { LexicalComposerContextWithEditor, LexicalComposerContextType, };