import { EventDispatcher, EventToken } from '@deepkit/event';
import { Logger } from '@deepkit/logger';
export declare const onServerShutdownRequested: EventToken<import("@deepkit/event").BaseEvent>;
export declare class ShutdownListener {
    private eventDispatcher;
    private logger;
    private shutdownPromise;
    constructor(eventDispatcher: EventDispatcher, logger: Logger);
    reconfigureShutdown(): void;
    handleShutdown(): Promise<void>;
}
//# sourceMappingURL=shutdown.d.ts.map