I am using group nodes (input and output). But export in blender3.4 GLTF file.The ambient occlution file doesn't export with gltf file.
This Ambient occlution texture connect to GLTF Material output (group node) node. It shows the Ambient occlution map in Three.js editor.
I added those all nodes and ambient occlution map also then I export the model as GLTF file. Then I import the same model into the blender again those nodes are deleted automatically.