import type { CanvasInteractionPresetConfig } from './types.js'; export interface CanvasSelectionOptions { /** * Whether spacebar panning is currently active (suspends marquee selection). */ isSpacebarPanning?: boolean; /** * Selection mode: 'partial' (default) selects nodes intersected by selection box, * 'full' requires nodes to be fully enclosed. */ selectionMode?: 'partial' | 'full'; /** * Additional keys that trigger multi-selection (default: ['Shift', 'Meta']). */ multiSelectionKey?: string[]; } /** * Generates an interaction preset configured for left-click marquee drag-selection * while preserving middle-mouse and spacebar panning. */ export declare function getMarqueeSelectionPreset(options?: CanvasSelectionOptions): CanvasInteractionPresetConfig; /** * Keyboard listener helper to deselect nodes on Escape. */ export declare function handleDeselectOnEscape(event: KeyboardEvent, onDeselect: () => void): boolean;