kundankumar it's not officially supported at the moment, since it's marked as 'internal'.
But you can try using this and see if it works for you.
import { useGetDataSourceFields } from '@sisense/sdk-ui';
import { DataSourceField } from '@sisense/sdk-data';
const CodeExample = () => {
  const { dataSourceFields } = useGetDataSourceFields({
    dataSource: "Sample ECommerce",
  });
  return (
    <>
      {dataSourceFields?.map((field: DataSourceField) => (
        <div key={field.table + '-' + field.column}>
          {field.table}.{field.column} : {field.dimtype}
        </div>
      ))}
    </>
  );
};
export default CodeExample;