/** * Auto-positioner for command-created nodes. * * Computes a reasonable canvas position when no explicit coordinates are given. * * @module commands/positioner */ import type { WorkflowNode } from '../types/index.js'; /** * Computes an auto-position for a new node based on existing nodes. * * - Empty canvas: returns `{ x: 100, y: 100 }`. * - Non-empty canvas: places new node 250px to the right of the rightmost node, * at the same y as the rightmost node. */ export declare function computeAutoPosition(existingNodes: Pick[]): { x: number; y: number; };