import { defineNode as coreDefineNode } from '@midscene/core/internal/test-runner'; import type { DefineNodeOptions, DefineNodeWithSchemaOptions, NodeDefinition, NodeDefinitionWithSchema, NodeInputSchema, } from './types'; // A type-only facade: validation and execution still belong to the shared kernel. interface DefineNativeNode { ( options: DefineNodeWithSchemaOptions, ): NodeDefinitionWithSchema; ( options: DefineNodeOptions, ): NodeDefinition; } export const defineNode: DefineNativeNode = coreDefineNode;