import { MutableRefObject } from 'react';
import { Editor } from 'slate';
import { EntityAccessor, SugaredFieldProps, SugaredRelativeEntityList } from '@contember/binding';
import { BlockElementCache } from './useBlockElementCache';
export declare const useBlockEditorOnChange: ({ refreshBlocks, editor, sortedBlocksRef, contentField, blockList, blockElementCache }: {
    editor: Editor;
    sortedBlocksRef: MutableRefObject<EntityAccessor[]>;
    contentField: SugaredFieldProps['field'];
    blockList: SugaredRelativeEntityList;
    blockElementCache: BlockElementCache;
    refreshBlocks: () => void;
}) => () => void;
//# sourceMappingURL=useBlockEditorOnChange.d.ts.map