import type { LexicalEditor } from 'lexical'; /** * Get the text content of the editor (plain text, no formatting). */ export declare function getTextContent(editor: LexicalEditor): string; /** * Get the character count of the editor content. */ export declare function getCharacterCount(editor: LexicalEditor): number; /** * Get the word count of the editor content. */ export declare function getWordCount(editor: LexicalEditor): number; /** * Insert text at the current cursor position, replacing any selected text. * Designed for use as a snippet `onSelect` callback helper. */ export declare function insertTextAtCursor(editor: LexicalEditor, text: string): void;