import { type Node } from '../xyflow/react.ts';
import type { HandleManifest, NodeManifest } from '../schema/node-definition';
export interface PreviewNodeConnectionInfo {
    existingNodeId: string;
    existingHandleId: string;
    existingNodeManifest: NodeManifest | undefined;
    existingHandleManifest: HandleManifest | undefined;
    addNewNodeAsSource: boolean;
    previewEdgeId: string;
}
interface UsePreviewNodeResult {
    previewNode: Node | null;
    previewNodeConnectionInfo: Array<PreviewNodeConnectionInfo> | null;
}
export declare const usePreviewNode: () => UsePreviewNodeResult;
export {};
//# sourceMappingURL=usePreviewNode.d.ts.map