-import { OCPP16AvailabilityStatus, OCPP16BootNotificationResponse, OCPP16ChargingProfileStatus, OCPP16ClearChargingProfileStatus, OCPP16ConfigurationStatus, OCPP16RegistrationStatus, OCPP16TriggerMessageStatus, OCPP16UnlockStatus } from './1.6/Responses';
+import type ChargingStation from '../../charging-station/ChargingStation';
+import type { JsonType } from '../JsonType';
+import type { OCPP16MeterValuesResponse } from './1.6/MeterValues';
+import {
+ OCPP16AvailabilityStatus,
+ OCPP16BootNotificationResponse,
+ OCPP16ChargingProfileStatus,
+ OCPP16ClearChargingProfileStatus,
+ OCPP16ConfigurationStatus,
+ OCPP16HeartbeatResponse,
+ OCPP16RegistrationStatus,
+ OCPP16StatusNotificationResponse,
+ OCPP16TriggerMessageStatus,
+ OCPP16UnlockStatus,
+} from './1.6/Responses';
+import type { ErrorType } from './ErrorType';
+import type { MessageType } from './MessageType';
+
+export type Response = [MessageType.CALL_RESULT_MESSAGE, string, JsonType];
+
+export type ErrorResponse = [MessageType.CALL_ERROR_MESSAGE, string, ErrorType, string, JsonType];
+
+export type ResponseHandler = (
+ chargingStation: ChargingStation,
+ payload: JsonType,
+ requestPayload?: JsonType
+) => void | Promise<void>;