import React, { type MutableRefObject } from 'react'; import type { LayoutItemType } from '@splunk/dashboard-types'; export interface UseDragHandleComponentProps { id: string; shouldShowDragHandle: boolean; type: LayoutItemType; portalRef?: MutableRefObject; } interface EventProps { vizId: string; initialEvent: React.MouseEvent; type?: LayoutItemType; } export type DragHandleEvent = CustomEvent; export declare const EVENT_MOUSE_DOWN_ON_HANDLE = "mousedownVizHandle"; export declare const EVENT_MOUSE_DOWN_ON_VIZ_WITH_HANDLE = "mousedownVizWithHandle"; export declare const useDragHandleComponent: ({ id, shouldShowDragHandle, type, portalRef, }: UseDragHandleComponentProps) => JSX.Element | null; export {}; //# sourceMappingURL=useDragHandleComponent.d.ts.map