Get `ERR_PACKAGE_PATH_NOT_EXPORTED` when import Schema type

When I try to import Schema type

I get this error on vscode

Resolve error: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './types' is not defined by "exports" in "..."

This is my sample code

import readXlsxFile from 'read-excel-file'
import { Schema } from 'read-excel-file/types'

const schema: Schema = { ... }

readXlsxFile(file, { schema }).then(...)