import GenericMetrics from './generic-metrics'; import { EventPayload } from './metrics.types'; /** * @description Util class to handle Operational Metrics * @export * @class OperationalMetrics */ export default class OperationalMetrics extends GenericMetrics { /** * Submit an operational metric to our metrics endpoint. * @param {string} name of the metric * @param {EventPayload} user payload of the metric * @returns {Promise} */ submitOperationalEvent({ name, payload }: { name: string; payload: EventPayload; }): void; }