import type { Handler } from 'express'; /** * HTTP route registration for root services. * * See the {@link https://backstage.io/docs/backend-system/core-services/root-http-router | service documentation} for more details. * * @public */ export interface RootHttpRouterService { /** * Registers a handler at the root of the backend router. * The path is required and may not be empty. */ use(path: string, handler: Handler): void; }