export declare class ChanperfTracker { constructor(); private emitter; private filterOutLogs; private history; on(eventname: 'chanperf', handler: (output: ChanperfData) => void): any; private emit; get getHistory(): Array; /** * Used to set wether the chanperf should be filtered from the console output * @param outputLevel the consoleOutput from the launch config */ setConsoleOutput(outputLevel: string): void; /** * Clears the current chanperf history */ clearHistory(): void; /** * Takes the debug output from the device and parses it for any chanperf information. * Also if consoleOutput was not set to 'full' then any chanperf output will be filtered from the output. * @param log * @returns The debug output after parsing */ processLog(log: string): string; private toBytes; /** * Helper function used to create a new ChanperfData object with default values */ private createNewChanperfEventData; } export interface ChanperfData { error?: { message: string; }; memory: { total: number; anonymous: number; file: number; shared: number; swap: number; }; cpu: { total: number; user: number; system: number; }; }