import type { KythiaClient, KythiaContainer, IShutdownManager, KythiaLogger } from '../types'; export declare class ShutdownManager implements IShutdownManager { client: KythiaClient; container: KythiaContainer; logger: KythiaLogger; private _activeIntervals; private _messagesWithActiveCollectors; private _collectorPatched; private _cleanupAttached; private _isShuttingDown; private _shutdownPromise; private _heartbeatInterval; private _lastHeartbeatAck; private _masterStartedAt; getMasterUptime(): string; get masterStartedAt(): number; private _startMemoryMonitor; protected _getHeapStats(): { heap_size_limit: number; }; constructor({ client, container, }: { client: KythiaClient; container: KythiaContainer; }); private _logHistory; private _sendLifecycleWebhook; shutdown(reason: string): Promise; private _runShutdown; initializeGlobalIntervalTracker(): void; disableRecursively(components: Record[]): Record[]; initializeShutdownCollectors(): void; initialize(): void; private _startCollectorPrune; private _attachExitLogger; sendStartupWebhook(): Promise; private _startMasterHeartbeat; getActiveIntervalsCount(): number; getActiveCollectorsCount(): number; forceCleanup(): void; } //# sourceMappingURL=ShutdownManager.d.ts.map