import { CaretController } from '../core/caret-controller'; /** * Inserts text into a contentEditable element at a specific position. * Handles multiline text by splitting into paragraphs at \n boundaries. * * @param replaceSelection When true, deletes the current selection before * inserting. Fully-selected paragraphs are removed entirely to avoid * leaving empty shells. Used internally by the paste handler. */ export declare function insertTextIntoContentEditable(element: HTMLElement, text: string, caretStart: number | undefined, caretEnd: number | undefined, caretController: CaretController, replaceSelection?: boolean): void;