import { Editor, Element as SlateElement } from 'slate';
import { EntityAccessor, FieldValue } from '@contember/binding';
import { CreateElementReferences } from './useCreateElementReference';
export declare type InsertElementWithReference = (element: Omit<SlateElement, 'referenceId'>, referenceDiscriminant: FieldValue, initialize?: EntityAccessor.BatchUpdatesHandler) => void;
export declare const useInsertElementWithReference: ({ editor, createElementReference }: {
    editor: Editor;
    createElementReference: CreateElementReferences;
}) => InsertElementWithReference;
//# sourceMappingURL=useInsertElementWithReference.d.ts.map