How to pass texture parameter to tslFn with setLayout

This is my example:

const test = tslFn(([texNode, uv]) => {
       .... some logic
       
       return texNode.uv(transformedUV);
})
.setLayout({
    name: 'test',
    type: 'vec4',
    inputs: [
		{ name: 'texNode', type: '????' },
		{ name: 'uv', type: 'vec2' },
    ]
});
const texNode = texture(anyTexture);
this.colorNode = test(texNode, uv);

What type of input should I decalre in setLayout? I haven’t found an example in the source code of three.js.