import { SignalService } from './SignalService'; /** * Represents the global scope service. */ declare global { interface Window { __composaic_singletonInstances__?: Map; } } /** * Represents the mapping of service types. */ interface ServiceTypeMapping { GlobalScopeService: GlobalScopeService; SignalService: SignalService; } /** * Represents the global scope service class. */ export declare class GlobalScopeService { private static readonly instanceKey; private constructor(); /** * Gets the singleton instance of the GlobalScopeService. * @returns The singleton instance of the GlobalScopeService. */ static getInstance(): GlobalScopeService; /** * Sets the singleton instance of a service. * @param key - The key associated with the service type. * @param instance - The instance of the service. */ static setSingletonInstance(key: K, instance: ServiceTypeMapping[K]): void; /** * Gets the singleton instance of a service. * @param key - The key associated with the service type. * @returns The singleton instance of the service, or undefined if not found. */ static getSingletonInstance(key: K): ServiceTypeMapping[K] | undefined; } export {};