/// <reference types="react" />
import { Editor } from 'slate';
import { SugaredFieldProps, SugaredRelativeEntityList } from '@contember/binding';
export declare const useBlockEditorState: ({ editor, blockList, sortableBy, contentField, monolithicReferencesMode, referencesField }: {
    editor: Editor;
    blockList: SugaredRelativeEntityList;
    sortableBy: SugaredFieldProps['field'];
    contentField: SugaredFieldProps['field'];
    referencesField?: string | SugaredRelativeEntityList | undefined;
    monolithicReferencesMode?: boolean | undefined;
}) => {
    onChange: () => void;
    nodes: import("slate").Descendant[];
    sortedBlocksRef: import("react").MutableRefObject<import("@contember/binding/dist/types/accessors/EntityAccessor").EntityAccessor[]>;
    refreshBlocks: () => void;
};
//# sourceMappingURL=useBlockEditorState.d.ts.map