+export type ErrorCallback = (error: OCPPError, requestStatistic?: boolean) => void;
+
+export type CachedRequest = [
+ ResponseCallback,
+ ErrorCallback,
+ RequestCommand | IncomingRequestCommand,
+ JsonType
+];
+
+export const MessageTrigger = {
+ ...OCPP16MessageTrigger,
+} as const;
+export type MessageTrigger = OCPP16MessageTrigger;
+
+export type BootNotificationRequest = OCPP16BootNotificationRequest | OCPP20BootNotificationRequest;
+
+export type HeartbeatRequest = OCPP16HeartbeatRequest;
+
+export type StatusNotificationRequest = OCPP16StatusNotificationRequest;
+
+export type MeterValuesRequest = OCPP16MeterValuesRequest;
+
+export type DataTransferRequest = OCPP16DataTransferRequest;
+
+export type IncomingRequestHandler = (
+ chargingStation: ChargingStation,
+ commandPayload: JsonType
+) => JsonType | Promise<JsonType>;
+
+export const AvailabilityType = {
+ ...OCPP16AvailabilityType,
+} as const;
+export type AvailabilityType = OCPP16AvailabilityType;