UNPKG

liveperson-functions-cli

Version:
22 lines (21 loc) 626 B
import { LogMessage, ErrorMessage } from './printer'; export declare class MetricsView { private log; private error; private readonly cliUx; constructor({ log, error, cliUx, }?: { log?: LogMessage; error?: ErrorMessage; cliUx?: any; }); /** * Prints the console logs from the invoked function * @param {*} message - message * @returns {void} * @memberof MetricsView */ printMetricsTable(metrics: any): void; printMetricsTableAsCSV(metrics: any[]): void; printMetricsTableAsJSON(metrics: any): void; private static transformMetricData; }