import type { Edge, Node } from '../../xyflow/react.ts';
import type { NodeLayout } from '../../hooks/useCanvasNodeLayout';
import type { PreviewNodeConnectionInfo } from '../../hooks/usePreviewNode';
import type { NodeManifest } from '../../schema';
interface AddNodePlacementResult {
    nodes: Node[];
    insertedNode: Node;
}
export declare function getOriginalEdge(previewNode: Node | null | undefined): Edge | null;
export declare function alignNodeToPreview(node: Node, previewNode: Node, previewConnections: PreviewNodeConnectionInfo[], nodeManifest: NodeManifest | undefined): Node;
export declare function placeAddedNode({ nodes, edges, previewNode, insertedNode, layout, ignoredNodeTypes, }: {
    nodes: Node[];
    edges: Edge[];
    previewNode: Node;
    insertedNode: Node;
    layout: NodeLayout;
    ignoredNodeTypes?: string[];
}): AddNodePlacementResult;
export {};
//# sourceMappingURL=AddNodeManager.helpers.d.ts.map