19 lines
614 B
TypeScript
19 lines
614 B
TypeScript
|
|
import { IEventBus } from '../types/CalendarTypes';
|
||
|
|
import { CalendarManagers } from '../types/ManagerTypes';
|
||
|
|
/**
|
||
|
|
* Factory for creating and managing calendar managers with proper dependency injection
|
||
|
|
*/
|
||
|
|
export declare class ManagerFactory {
|
||
|
|
private static instance;
|
||
|
|
private constructor();
|
||
|
|
static getInstance(): ManagerFactory;
|
||
|
|
/**
|
||
|
|
* Create all managers with proper dependency injection
|
||
|
|
*/
|
||
|
|
createManagers(eventBus: IEventBus): CalendarManagers;
|
||
|
|
/**
|
||
|
|
* Initialize all managers in the correct order
|
||
|
|
*/
|
||
|
|
initializeManagers(managers: CalendarManagers): Promise<void>;
|
||
|
|
}
|