UNPKG

asciitorium

Version:

an ASCII ui framework for web + cli

19 lines (18 loc) 524 B
import { Component, ComponentProps } from '../core/Component'; export interface PerfMonitorOptions extends Omit<ComponentProps, 'height' | 'width'> { width?: number; height?: number; time?: boolean; cpu?: boolean; memory?: boolean; fps?: boolean; } export declare class PerfMonitor extends Component { private showRenderTime; private showCPU; private showMemory; private showFPS; constructor(options: PerfMonitorOptions); private getAsciitoriumRoot; draw(): string[][]; }