/** @packageDocumentation * @module Toolbar */ import * as React from "react"; /** * Hook used on expandable item that require drag or long press to open * @param onClick Function called when item is clicked. * @param onOpenPanel Function called when item is dragged or long pressed to open panel. */ export declare function useDragInteraction(onClick?: () => void, onOpenPanel?: () => void): { handlePointerDown: (e: React.PointerEvent) => void; handleButtonClick: () => void; }; //# sourceMappingURL=useDragInteraction.d.ts.map