import { LifecycleService } from './LifecycleService'; /** * Registration of backend startup and shutdown lifecycle hooks. * * See the {@link https://backstage.io/docs/backend-system/core-services/root-lifecycle | service documentation} for more details. * * @public */ export interface RootLifecycleService extends LifecycleService { addBeforeShutdownHook(hook: () => void | Promise): void; }