import { IMetric } from "../model/IMetric"; import { ITags } from "../model/ITags"; export interface IEntryTypeMap { simple: IStatEntry; tagged: ITaggedStatEntry; } export type StatsReporterType = keyof IEntryTypeMap; export type IStatEntry = Omit; export type ITaggedStatEntry = IStatEntry & { tags: ITags; }; export declare abstract class StatsReporter { readonly type: T; readonly name: string; constructor(type: T, name: string); abstract send(values: IEntryTypeMap[T][], intervalMs: number): Promise; }