/** @packageDocumentation * @module Base */ import * as React from "react"; import { CommonProps, PointProps } from "@bentley/ui-core"; /** Properties of [[DragHandle]] component. * @internal */ export interface DragHandleProps extends CommonProps { /** Last pointer position of draggable tab. */ lastPosition?: PointProps; /** Function called when component is clicked. */ onClick?: () => void; /** Function called when component is dragged. */ onDrag?: (dragged: PointProps) => void; /** Function called when component drag is started. * @param initialPosition Initial pointer position in window coordinates. */ onDragStart?: (initialPosition: PointProps) => void; /** Function called when component drag is finished. */ onDragEnd?: () => void; } interface DragHandleState { isPointerDown: boolean; } /** Drag handle component. * @internal */ export declare class DragHandle extends React.PureComponent { private _initial; private _isDragged; readonly state: DragHandleState; render(): JSX.Element; private _handlePointerDown; private _handlePointerMove; private _handlePointerUp; private _handleClick; } export {}; //# sourceMappingURL=DragHandle.d.ts.map