import type { EdgeConstraintItem } from '../../../../../types';
export interface ConstraintEditorProps {
    /**
     * Edge constraint for the specific edge
     */
    edgeConstraint?: EdgeConstraintItem;
    /**
     * Handler called when the type of the constraint is updated
     */
    onUpdate: (constraint: EdgeConstraintItem) => void | Promise<void>;
    /**
     * Source of the selected edge
     */
    source: string;
    /**
     * Target of the selected edge
     */
    target: string;
}
/**
 * ConstraintEditor component represents a constraint related to a specific edge.
 * It should be displayed inside the EditorFrame's sidebar to allow the user to
 * specify a constraint type & type of relationship.
 */
declare function ConstraintEditor(props: ConstraintEditorProps): JSX.Element;
export default ConstraintEditor;
//# sourceMappingURL=constraint-editor.d.ts.map