Export duration in seconds from lib. Need this to make timer tick in UI