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