-import type { JsonType } from '../types/JsonType';
-import { ErrorType } from '../types/ocpp/ErrorType';
-import type { IncomingRequestCommand, RequestCommand } from '../types/ocpp/Requests';
-import BaseError from './BaseError';
+import { BaseError } from './internal';
+import {
+ ErrorType,
+ type IncomingRequestCommand,
+ type JsonType,
+ type RequestCommand,
+} from '../types';