import { DynamicModule } from "@nestjs/common"; //#region src/healthz.module.d.ts /** * The healthz module — import once at the application root via * `HealthzModule.forRoot()` to mount the `/livez`, `/readyz`, and * `/healthz` endpoints and enable discovery of `@HealthAttestor()` * providers across the application graph. * * The module is registered as `global: true` so attestors declared in * feature modules are automatically picked up without any of those * modules needing to import `HealthzModule` themselves. * * @example * ```ts * @Module({ * imports: [ * DatabaseModule, * HealthzModule.forRoot(), * ], * }) * export class AppModule {} * ``` */ declare class HealthzModule { /** * Registers the healthz module globally. * * Takes no arguments today; reserved as the canonical entry point * for any future module configuration. */ static forRoot(): DynamicModule; } //#endregion export { HealthzModule };