import { Type } from '@nestjs/common'; export interface MetricsConfig { defaultLabels?: Record; defaultMetricsEnabled?: boolean; interceptors?: Type[]; pushgatewayUrl?: string; pushgatewayOptions?: { timeout?: number; headers?: Record; auth?: { username: string; password: string; }; }; } export interface ReporterAsyncOptions { imports?: any[]; useFactory: (...args: any[]) => Promise | MetricsConfig; inject?: any[]; } export interface PushgatewayResponse { status: number; success: boolean; message?: string; }