import { ReactNode } from 'react'; import type { RichTextEditor } from '../types'; /** * This hook handles removing the DTR node if the default text is updated to be * an empty string on the canvas. */ export declare const useDTRLeafUpdates: (editor: RichTextEditor, dtrId: number, children: ReactNode) => void;