import { type Position } from '../../../xyflow/react.ts';
import type { EdgeToolbarConfig, EdgeToolbarPositionData } from './EdgeToolbar.types';
export interface UseEdgeToolbarStateProps {
    edgeId: string;
    pathElementRef: React.MutableRefObject<SVGPathElement | null>;
    isHovered: boolean;
    source: string;
    target: string;
    sourceHandleId?: string | null;
    targetHandleId?: string | null;
    sourcePosition: Position;
    targetPosition: Position;
    ignoredNodeTypes?: string[];
}
export interface EdgeToolbarState {
    showToolbar: boolean;
    toolbarPositioning: EdgeToolbarPositionData | null;
    config: EdgeToolbarConfig;
    handleMouseMoveOnPath?: (event: React.MouseEvent) => void;
}
export declare function useEdgeToolbarState({ edgeId, pathElementRef, isHovered, source, target, sourceHandleId, targetHandleId, sourcePosition, targetPosition, ignoredNodeTypes, }: UseEdgeToolbarStateProps): EdgeToolbarState;
//# sourceMappingURL=useEdgeToolbarState.d.ts.map