import type { IResolvedServiceImplementation, IServiceDescriptor, IServiceImplementationResolver, IServiceTypeResolver, RequestPath } from "../types/index.js"; export declare abstract class BaseServiceImplementationResolver implements IServiceImplementationResolver { abstract get name(): string; /** * Cached resolved service implementation. * * **Important**: Only set this property if the resolved implementation is static * and will never change between calls. If the implementation might return different * values on subsequent calls (e.g., factories, dynamic resolution), leave this as * `null` and override the `resolve` method instead. */ resolved: IResolvedServiceImplementation | null; /** * Creates a new service implementation resolver. * * @param resolved - Initial resolved service implementation. Only provide this if the * implementation is static and will never change. For dynamic implementations, pass * `null` (default) and override the `resolve` method instead. */ constructor(resolved?: IResolvedServiceImplementation | null); resolve(internalGetService: IServiceTypeResolver, descriptor: IServiceDescriptor, requestedBy: IServiceDescriptor | null, requestedPath: RequestPath, mode: "sync" | "async", context: Readonly>): Generator, IResolvedServiceImplementation, unknown>; } export declare function isServiceImplementationResolver(value: unknown): value is IServiceImplementationResolver; //# sourceMappingURL=BaseServiceImplementationResolver.d.ts.map