import { type LexicalEditor } from 'lexical'; import type { OverflowPluginOptions } from '../types'; /** * Register overflow/character limit detection. * Monitors content length and triggers callbacks when limits are exceeded. */ export declare function registerOverflowPlugin(editor: LexicalEditor, options: OverflowPluginOptions): Promise<() => void>;