import type { IServiceDescriptor } from "./IServiceDescriptor.js"; import type { RequestPath } from "./RequestPath.js"; import type { ServiceType } from "./ServiceType.js"; export interface IServiceTypeResolver { ( service: ServiceType, requestedBy: IServiceDescriptor | null, requestedPath: RequestPath, mode: "sync" | "async", context: Readonly>, ): Generator, T, unknown>; }