export interface ServeShutdownDeps { proc: { on(sig: NodeJS.Signals, handler: () => void): unknown; exit(code?: number): unknown; }; daemon: { persistCrashStateAll(error?: string): void; clearHeartbeat(): void; }; announce(reason: string): void; /** Starts the graceful stop (serveAction's wait resolves and runs `daemon.stopAll()`). */ onGraceful(): void; /** Longest the graceful stop may take before the process is force-exited. */ hardExitMs: number; } export declare function installServeShutdown(deps: ServeShutdownDeps): { finish(): void; }; //# sourceMappingURL=serve-shutdown.d.ts.map