import type { EditorThemeClasses, LexicalEditor } from 'lexical'; export type LexicalComposerContextType = { getTheme: () => EditorThemeClasses | null | undefined; }; export type LexicalComposerContextWithEditor = [LexicalEditor, LexicalComposerContextType]; export declare const ComposerContextKey: unique symbol; export declare function setComposerContext(context: LexicalComposerContextWithEditor): void; export declare function useLexicalComposerContext(): LexicalComposerContextWithEditor; export declare function createLexicalComposerContext(parent: LexicalComposerContextWithEditor | null | undefined, theme: () => EditorThemeClasses | null | undefined): LexicalComposerContextType;