import type { ServiceManifest } from "../config/ServiceManifest"; import type { Service } from "./Service"; /** * Creates new instances of services. */ export interface ServiceFactory extends Service { /** * Creates a service instance from its configuration. * * @param manifest The service configuration. */ create(manifest: ServiceManifest): Promise; }