-export type IncomingRequest = [MessageType, string, IncomingRequestCommand, Record<string, unknown>, Record<string, unknown>];
+export type CachedRequest = [
+ (payload: JsonType, requestPayload: JsonType) => void,
+ (error: OCPPError, requestStatistic?: boolean) => void,
+ RequestCommand | IncomingRequestCommand,
+ JsonType | OCPPError
+];