declare type Param = { name: string; interval?: number; pointFunction: () => P; valueFunction: (p1: P, p2: P | undefined) => T; }; export declare class WatchDog { timerCleanupThunk: (Function | undefined)[]; intervals: { [key: string]: number; }; params: { [key: string]: [any, any]; }; callback: (values: { [key: string]: any; }) => void; errorCallback: (err: Error) => void; constructor(workerIdsFunction: () => number[], config: { [key: string]: number; }, callback: (values: { [key: string]: any; }) => void, errorCallback: (err: Error) => void); clearTimers(): void; setupTimer(params: Param[]): (() => void) | undefined; setupTimers(): void; enforceConfig(): void; } export {};