import type { XYPosition } from '../../../xyflow/system.ts';
import type { ToolbarActionItem } from '../shared/toolbar.types';
export interface EdgeToolbarActionItem extends Omit<ToolbarActionItem, 'onAction' | 'color' | 'isToggled'> {
    onAction: (edgeId: string, position: {
        x: number;
        y: number;
    }) => void;
}
export interface EdgeToolbarConfig {
    actions: EdgeToolbarActionItem[];
}
export interface EdgeToolbarPositionData {
    offsetPosition: XYPosition;
    pathPosition: XYPosition;
}
export interface EdgeToolbarProps {
    edgeId: string;
    visible: boolean;
    positioning: EdgeToolbarPositionData;
    config: EdgeToolbarConfig;
    onMouseEnter?: () => void;
    onMouseLeave?: () => void;
}
//# sourceMappingURL=EdgeToolbar.types.d.ts.map