import { Descendant, Editor } from 'slate';
import { EntityAccessor, SugaredFieldProps, SugaredRelativeEntityList } from '@contember/react-binding';
import { MutableRefObject } from 'react';
export interface useBlockEditorStateResult {
    onChange: () => void;
    nodes: Descendant[];
    sortedBlocksRef: MutableRefObject<EntityAccessor[]>;
    refreshBlocks: () => void;
}
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;
}) => useBlockEditorStateResult;
//# sourceMappingURL=useBlockEditorState.d.ts.map