Factory signature used to build services from URI-based configuration.
typedef ServiceFactory<T> = T Function(String uri, {Map<String, Object?>? kwargs});