import { NodeEditorPointerAction, PointerShortcutBehavior, PointerShortcutBinding, PointerType } from '../types/interaction'; type PointerLikeEvent = Pick & { readonly pointerType?: string; }; /** * Determines whether the supplied pointer event matches a configured binding. */ export declare const matchesPointerShortcut: (event: PointerLikeEvent, binding: PointerShortcutBinding) => boolean; /** * Returns the binding for the specified pointer shortcut, if available. */ export declare const pointerShortcutBindingFor: (pointerShortcuts: PointerShortcutBehavior, action: NodeEditorPointerAction) => PointerShortcutBinding | null; /** * Determines whether a pointer shortcut is currently enabled (both globally and per-action). */ export declare const isPointerShortcutEnabled: (pointerShortcuts: PointerShortcutBehavior, action: NodeEditorPointerAction) => boolean; /** * Determines whether the given event activates the specified pointer shortcut. */ export declare const isPointerShortcutEvent: (pointerShortcuts: PointerShortcutBehavior, action: NodeEditorPointerAction, event: PointerLikeEvent) => boolean; type PointerGesture = "click" | "drag" | "context-menu"; export type PointerShortcutFormatOptions = { gesture?: PointerGesture; }; export type PointerShortcutDisplay = { modifiers: string[]; pointerToken: string; pointerDisplayType: PointerType | undefined; gestureLabel: string | null; requireEmptyTarget: boolean; }; export type PointerShortcutDisplayOptions = { gesture?: PointerGesture; }; export declare const describePointerShortcutDisplay: (binding: PointerShortcutBinding, options?: PointerShortcutDisplayOptions) => PointerShortcutDisplay; /** * Formats a pointer shortcut binding into a readable label. */ export declare const formatPointerShortcutBinding: (binding: PointerShortcutBinding, options?: PointerShortcutFormatOptions) => string; export declare const formatPointerShortcutBindingCompact: (binding: PointerShortcutBinding, options?: PointerShortcutFormatOptions) => string; /** * Retrieves the formatted label for a pointer shortcut action, respecting enabled state. */ export declare const getPointerShortcutLabelForAction: (pointerShortcuts: PointerShortcutBehavior, action: NodeEditorPointerAction, options?: PointerShortcutFormatOptions) => string | null; export {};