import { Gauge } from './MetricsProxy'; import { Proxiable } from './domain'; export declare abstract class CachedGauge implements Gauge, Proxiable { static DEFAULT_TIMEOUT: number; type: string; proxyMethod: any[]; reloadAt: number; value: T; timeout: any; constructor(timeout?: any); /** * Loads the value and returns it. * * @return the new value */ protected abstract loadValue(): T; getValue(): T; shouldLoad(): boolean; }