import { InteractionForegroundHandler } from "./types" ; import { InteractionWaitingData } from "../types" ; export class InteractionForegroundService { constructor ( protected handler ) { } pushData ( data ) { this . handler . onInteractionDataReceived ( data ) ; } pushEvent ( data ) { this . handler . onEventDataReceived ( data ) ; } }