export interface MagnetOptions { /** CSS selector for draggable items within host (default ':scope > *') */ selector?: string; /** Snap threshold distance in px — how close before snapping (default 20) */ threshold?: number; /** Snap to grid size in px — 0 means snap to other elements only (default 0) */ gridSize?: number; /** Snap strength 0-1 — 1 is instant snap, lower values ease toward snap point (default 1) */ strength?: number; /** Show guide lines when snapping (default true) */ guides?: boolean; /** Guide line color (default 'var(--n-color-accent-500)') */ guideColor?: string; /** Enable snap to container edges (default true) */ snapToEdges?: boolean; /** Enable snap to sibling element edges/centers (default true) */ snapToSiblings?: boolean; /** Disable the controller */ disabled?: boolean; } /** Snap elements toward each other or to a grid when dragged within a threshold distance. */ export declare class MagnetController { #private; readonly host: HTMLElement; selector: string; threshold: number; gridSize: number; strength: number; guides: boolean; guideColor: string; snapToEdges: boolean; snapToSiblings: boolean; disabled: boolean; constructor(host: HTMLElement, options?: MagnetOptions); attach(): void; detach(): void; destroy(): void; } //# sourceMappingURL=magnet-controller.d.ts.map