-import { type FSWatcher, readFileSync } from 'node:fs';
-
-import type { ChargingStation } from './ChargingStation';
-import { ChargingStationUtils } from './ChargingStationUtils';
-import { FileType, IdTagDistribution } from '../types';
-import { Utils, handleFileException, logger, watchJsonFile } from '../utils';
-
-type IdTagsCacheValueType = {
- idTags: string[];
- idTagsFileWatcher: FSWatcher | undefined;
-};
+import { type FSWatcher, readFileSync } from 'node:fs'
+
+import { FileType, IdTagDistribution } from '../types/index.js'
+import {
+ handleFileException,
+ isNotEmptyString,
+ logger,
+ logPrefix,
+ secureRandom,
+ watchJsonFile
+} from '../utils/index.js'
+import type { ChargingStation } from './ChargingStation.js'
+import { getIdTagsFile } from './Helpers.js'
+
+interface IdTagsCacheValueType {
+ idTags: string[]
+ idTagsFileWatcher: FSWatcher | undefined
+}