import { ScopedService } from "./ScopedService"; import { SingletonService } from "./SingletonService"; import BaseService from "./BaseService"; import { Dictionary } from "../utils/Dictionary"; export interface IServiceCollection { AddScoped(name: string, service: typeof ScopedService): void; AddSingleton(name: string, service: typeof SingletonService): void; AddTransient(name: string, service: typeof BaseService): void; } export declare class ServiceCollection implements IServiceCollection { _scoped: Dictionary; _singleton: Dictionary; _transient: Dictionary; AddScoped(name: string, service: typeof ScopedService): void; AddSingleton(name: string, service: typeof SingletonService): void; AddTransient(name: string, service: typeof BaseService): void; }