Require("photoshop").imaging returns undefined

Hello,I am attempting to require the imaging module from the "photoshop" package in my UXP plugin with the follow code:

const imaging = require("photoshop").imaging;

However, this is resulting in imaging being undefined.

PS version is 23.5.2

document link:
https://developer.adobe.com/photoshop/uxp/2022/ps_reference/media/imaging/#getpixels

manifest.json

{
  "id": "com.adobe.uxp.starter.vue",
  "name": "UXP Vue Starter Plugin",
  "version": "1.0.0",
  "main": "index.html",
  "manifestVersion": 4,
  "host": {
    "app": "PS",
    "minVersion": "23.0.0"
  },
  "entrypoints": [
    {
      "type": "panel",
      "id": "helloworld",
      "label": {
        "default": "Hello World"
      },
      "minimumSize": { "width": 230, "height": 200 },
      "maximumSize": { "width": 2000, "height": 2000 },
      "preferredDockedSize": { "width": 230, "height": 300 },
      "preferredFloatingSize": { "width": 230, "height": 300 },
      "icons": [
        {
          "width": 23,
          "height": 23,
          "path": "icons/dark-panel.png",
          "scale": [1, 2],
          "theme": ["darkest", "dark", "medium"],
          "species": ["chrome"]
        },
        {
          "width": 23,
          "height": 23,
          "path": "icons/light-panel.png",
          "scale": [1, 2],
          "theme": ["lightest", "light"],
          "species": ["chrome"]
        }
      ]
    }
  ],
  "icons": [
    {
      "width": 48,
      "height": 48,
      "path": "icons/plugin.png",
      "scale": [1, 2],
      "theme": ["darkest", "dark", "medium", "lightest", "light", "all"],
      "species": ["pluginList"]
    }
  ]
}

Any guidance on why this is happening or how I should be properly requiring the imaging module would be greatly appreciated. If additional information is needed, please let me know.

Thank you!

I think imaging API is supported from version 24.4

Oh, thank you, I will try using version 24.4

Yes, we don’t have minVersion attributes for the properties and methods outside of the DOM itself, require('photoshop').app.

The Imaging API is slated to be incorporated into the DOM objects at a future date which would allow you to call methods from a document or layer object directly. Those functions would then have minVersion attached.