declare enum State { Idle = 0, Buffering = 1, Playing = 2, Pausing = 3, Paused = 4, Stopping = 5, Stopped = 6 } export default State;