import type { IServiceCollection, IServiceConstructor, IServiceDescriptor, IServiceFactory, IServiceImplementation, IServiceImplementationResolver, SingleServiceImplementation, SingleServiceType } from "../types/index.js"; import { ServiceLifetime } from "./ServiceLifetime.js"; export declare class ServiceCollection implements IServiceCollection { protected readonly collection: Map[]>; constructor(collection?: ServiceCollection); [Symbol.iterator](): Iterator, any, undefined>; getDescriptors(service: SingleServiceType): readonly IServiceDescriptor[]; getDescriptor(service: SingleServiceType): IServiceDescriptor; addScoped(service: SingleServiceImplementation): this; addScoped(service: SingleServiceType, factory: IServiceFactory): this; addScoped(service: SingleServiceType, constructor: IServiceConstructor): this; addScoped(service: SingleServiceType, resolver: IServiceImplementationResolver>): this; addTransient(service: SingleServiceImplementation): this; addTransient(service: SingleServiceType, factory: IServiceFactory): this; addTransient(service: SingleServiceType, constructor: IServiceConstructor): this; addTransient(service: SingleServiceType, resolver: IServiceImplementationResolver>): this; addSingleton(service: SingleServiceImplementation): this; addSingleton(service: SingleServiceType, implementation: T): this; addSingleton(service: SingleServiceType, factory: IServiceFactory): this; addSingleton(service: SingleServiceType, constructor: IServiceConstructor): this; addSingleton(service: SingleServiceType, resolver: IServiceImplementationResolver>): this; protected copy(): Map[]>; protected addService(lifetime: ServiceLifetime, service: SingleServiceType, implementation: IServiceImplementation): this; } //# sourceMappingURL=ServiceCollection.d.ts.map