export function useNodeDialog(): { openDialog: (node: any) => void; node: undefined; isOpen: boolean; onClose: () => void; onExited: () => void; };