import type { BlockElement, EditorHost } from '@blockeditor/lit'; import { type BlockModel } from '@blockeditor/store'; import type { RichText } from '../../_common/components/rich-text/rich-text.js'; export declare function onModelTextUpdated(editorHost: EditorHost, model: BlockModel, callback?: (text: RichText) => void): Promise; export declare function onModelElementUpdated(editorHost: EditorHost, model: BlockModel, callback: (blockElement: BlockElement) => void): Promise; //# sourceMappingURL=callback.d.ts.map