import { LexicalEditor, RangeSelection, LexicalNode } from 'lexical'; import './styles.css'; export declare const PLACEHOLDER_EMPTY_TEXT = "Press '/' for commands..."; export declare const PLACEHOLDER_CLASS_NAME = "lexical-node-placeholder"; export declare const TEMPLATE_CLASS_NAME = "lexical-node-template"; export declare const isHtmlHeadingElement: (el: HTMLElement) => el is HTMLHeadingElement; export declare const getNodePlaceholder: (lexicalNode: LexicalNode, emptyPlaceholder: string) => string | undefined; export declare const isFocusEditor: () => boolean; export declare const removeHtmlElementPlaceholder: (htmlElement: HTMLElement) => void; export declare const setPlaceholderOnSelection: ({ selection, editor, placeholder, }: { selection: RangeSelection; editor: LexicalEditor; placeholder?: any; }) => void; export declare const tryToSetNodePlaceholder: ({ htmlElement, node, emptyPlaceholder, }: { htmlElement: HTMLElement | null; node: LexicalNode | null; emptyPlaceholder?: string | undefined; }) => void; export declare const setNodePlaceholderFromSelection: (editor: LexicalEditor, placeholder: any) => void; export declare const setNodePlaceholderFromState: (editor: LexicalEditor, placeholder: any) => void; export declare const stopAddPlaceholder: ({ children, placeholder }: { children: any[]; placeholder?: any; }) => any; export declare const getAllLexicalChildren: (editor: LexicalEditor) => { key: string; node: LexicalNode; htmlElement: HTMLElement | null; }[];