export declare class ShutdownHandler { private log?; private consumed; private readonly handlers; constructor(log?: ((level: "debug" | "info" | "warn" | "error" | "critical", ...args: any[]) => void) | undefined); register(handler: () => Promise): void; shutdown(): Promise; get isShuttingDown(): boolean; reset: () => void; }