// @ts-nocheck
/**
 * @deprecated Use polyDataToMeshNode from @itk-wasm/mesh-to-poly-data instead
 */
async function polyDataToMeshNode(polyData) {
    const meshIOsPath = findLocalMeshIOPath();
    const args = ['0', '0', '--memory-io'];
    const desiredOutputs = [
        { type: InterfaceTypes.Mesh }
    ];
    const inputs = [
        { type: InterfaceTypes.PolyData, data: polyData }
    ];
    const modulePath = path.join(meshIOsPath, 'polydata-to-mesh.js');
    const emModule = await loadEmscriptenModule(modulePath);
    const { outputs } = runPipelineEmscripten(emModule, args, desiredOutputs, inputs);
    return outputs[0].data;
}
export default polyDataToMeshNode;
//# sourceMappingURL=poly-data-to-mesh-node.js.map