import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
import type { BlockControlsPlugin } from '../blockControlsPluginType';
/** Whether hovering must not show block controls under sparse surfaces. */
export declare const isSparseHoverSuppressed: (view: EditorView, api: ExtractInjectionAPI<BlockControlsPlugin> | undefined) => boolean;
/**
 * Shows controls for the block that owns `target`, resolved from PM structure so the first hover
 * can create its sparse candidate. Callers check `isSparseHoverSuppressed` first.
 */
export declare const handleSparseHoverTarget: (view: EditorView, target: Element, api: ExtractInjectionAPI<BlockControlsPlugin> | undefined) => boolean;
