import '../../chipper/js/browser/initialize-globals.js';
import '../../globals.js';
/**
 * Monitors the memory usage over time.
 *
 * @author Jonathan Olson <jonathan.olson@colorado.edu>
 */
import RunningAverage from '../../dot/js/RunningAverage.js';
type MemoryMonitorOptions = {
    windowSize?: number;
    memoryLimit?: number;
};
declare class MemoryMonitor {
    private readonly memoryLimit;
    readonly runningAverage: RunningAverage;
    private lastMemory;
    constructor(providedOptions?: MemoryMonitorOptions);
    /**
     * Records a memory measurement.
     */
    measure(): void;
    /**
     * Converts a number of bytes into a quick-to-read memory string.
     */
    private static memoryString;
}
export default MemoryMonitor;
//# sourceMappingURL=MemoryMonitor.d.ts.map