import { EditingConnection, AttributeItem, Entity } from '@reltio/mdm-sdk';
type EditRelationActions = {
    onChangeAttribute: (attribute: AttributeItem) => void;
    onAddAttributes: (attributes: AttributeItem[]) => void;
    onRemoveAttribute: (attributes: AttributeItem) => void;
    onChangeEntity: (entity: Entity) => void;
    onChangeRelationType: (value: {
        type: string;
        direction: string;
    }) => void;
};
type Props = {
    connection: EditingConnection;
    onConnectionChange: (connection: EditingConnection) => void;
    relatedEntity?: Entity;
};
export declare const useEditableConnection: ({ connection, onConnectionChange, relatedEntity }: Props) => EditRelationActions;
export {};
