import { GameEvent } from '../../../../models/game-event' ; export interface Challenge { readonly achievementId : string ; detect ( gameEvent , callback ) ; getRecordPastDurationMillis ( ) : number ; getRecordingDuration ( ) : number ; notificationTimeout ( ) : number ; resetState ( ) : void ; }