import * as Slate from 'slate';
import { Editor } from 'slate';
import { EntityAccessor, FieldValue, SugaredFieldProps, SugaredRelativeEntityList } from '@contember/react-binding';
import { MutableRefObject } from 'react';
export type CreateElementReferences = (editor: Editor, targetPath: Slate.Path, referenceDiscriminant: FieldValue, initialize?: EntityAccessor.BatchUpdatesHandler) => EntityAccessor;
export declare const useCreateElementReference: ({ monolithicReferencesMode, sortedBlocksRef, referenceDiscriminationField, referencesField, refreshBlocks }: {
    referencesField?: SugaredRelativeEntityList | string;
    monolithicReferencesMode?: boolean;
    sortedBlocksRef: MutableRefObject<EntityAccessor[]>;
    referenceDiscriminationField?: SugaredFieldProps['field'];
    refreshBlocks: () => void;
}) => CreateElementReferences;
//# sourceMappingURL=useCreateElementReference.d.ts.map