import type { FastifyInstance } from "fastify"; declare module "fastify" { interface FastifyInstance { shutdown: (signal: NodeJS.Signals | "uncaughtRejection" | "uncaughtException" | "maxMemoryThreshold") => Promise; } } export type StarscreamGracefulShutdownOptions = { graceful: boolean; timeoutMS: number; }; export declare const StarscreamGracefulShutdown: (server: FastifyInstance, options: StarscreamGracefulShutdownOptions) => Promise;