// Type definitions for Stats.js r11
// Project: http://github.com/mrdoob/stats.js
// Definitions by: Gregory Dalton <https://github.com/gregolai>
// Definitions: https://github.com/borisyankov/DefinitelyTyped

declare class Stats {

	REVISION: number;

	domElement: HTMLDivElement;
	
	// 0: fps, 1: ms
	setMode(value: number): void;
	
	begin(): void;
	
	end(): number;
	
	update(): void;
}
