export type Constructor> = new (...args: unknown[]) => T; export type Factory = (...args: unknown[]) => T; export type ServiceIdentifier = string | symbol | Constructor; export interface ServiceDescriptor { identifier: ServiceIdentifier; factory: Factory; singleton?: boolean; dependencies?: ServiceIdentifier[]; } export declare class Container { private services; private singletons; private resolving; register(descriptor: ServiceDescriptor): this; singleton(identifier: ServiceIdentifier, factory: Factory, dependencies?: ServiceIdentifier[]): this; transient(identifier: ServiceIdentifier, factory: Factory, dependencies?: ServiceIdentifier[]): this; registerClass(constructor: Constructor, dependencies?: ServiceIdentifier[], singleton?: boolean): this; resolve(identifier: ServiceIdentifier): T; has(identifier: ServiceIdentifier): boolean; clear(): void; createChild(): Container; getRegisteredServices(): ServiceIdentifier[]; } export declare const container: Container; export declare const SERVICES: { readonly GitRepository: symbol; readonly WorktreeManager: symbol; readonly TmuxManager: symbol; readonly TmuxDriver: symbol; readonly TmuxEnhancer: symbol; readonly Logger: symbol; readonly ConfigManager: symbol; readonly GitDetector: symbol; }; //# sourceMappingURL=Container.d.ts.map