import type { IGitRepository, IWorktreeManager, IGitDetector, ITmuxManager, IApplicationContext, IServiceFactory } from './interfaces.js'; import type { CLIOptions } from '../../types/index.js'; export declare class GitServiceFactory implements IServiceFactory { create(type: 'repository' | 'worktree' | 'detector', basePath: string): IGitRepository | IWorktreeManager | IGitDetector; } export declare class TmuxServiceFactory implements IServiceFactory { create(): ITmuxManager; } export declare class ApplicationContextFactory implements IServiceFactory { create(basePath: string, options: CLIOptions): IApplicationContext; } export interface SessionConfigOptions { sessionName: string; workingDirectory: string; branchName: string; role: 'supervisor' | 'child'; gitRepo?: IGitRepository; } export declare class SessionConfigFactory implements IServiceFactory { create(repoName: string, branchName: string, workingDirectory: string, role?: 'supervisor' | 'child', gitRepo?: IGitRepository): SessionConfigOptions; private generateSessionName; } export declare abstract class ServiceFactory implements IServiceFactory { protected dependencies: Map; addDependency(name: string, service: unknown): this; protected getDependency(name: string): TDep; abstract create(...args: unknown[]): T; } export declare class FactoryRegistry { private factories; register(name: string, factory: IServiceFactory): this; get(name: string): IServiceFactory; create(factoryName: string, ...args: unknown[]): T; has(name: string): boolean; getRegisteredFactories(): string[]; } export declare const gitServiceFactory: GitServiceFactory; export declare const tmuxServiceFactory: TmuxServiceFactory; export declare const applicationContextFactory: ApplicationContextFactory; export declare const sessionConfigFactory: SessionConfigFactory; export declare const factoryRegistry: FactoryRegistry; //# sourceMappingURL=factories.d.ts.map