import { jsx } from '@emotion/react';
import type { IntlShape } from 'react-intl';
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
import type { BlockControlsPlugin, HandleOptions } from '../blockControlsPluginType';
import type { AnchorRectCache } from '../pm-plugins/utils/anchor-utils';
type DragHandleProps = {
    anchorName: string;
    anchorRectCache?: AnchorRectCache;
    api: ExtractInjectionAPI<BlockControlsPlugin> | undefined;
    formatMessage: IntlShape['formatMessage'];
    getPos: () => number | undefined;
    handleOptions?: HandleOptions;
    isTopLevelNode?: boolean;
    nodeType: string;
    view: EditorView;
};
export declare const DragHandle: ({ view, api, formatMessage, getPos, anchorName, nodeType, handleOptions, isTopLevelNode, anchorRectCache, }: DragHandleProps) => jsx.JSX.Element;
export declare const DragHandleWithVisibility: ({ view, api, formatMessage, getPos, anchorName, nodeType, handleOptions, isTopLevelNode, anchorRectCache, }: DragHandleProps) => jsx.JSX.Element;
export {};
