/** * Service Factory * * Creates default service instances for background systems. * This eliminates the need for external DI containers while still * allowing consumers to inject custom implementations if desired. */ import type { IBackgroundRenderingService } from "../contracts/IBackgroundRenderingService.js"; import type { IBackgroundConfigurationService } from "../contracts/IBackgroundConfigurationService.js"; import type { IGeoLocationProvider } from "../contracts/IGeoLocationProvider.js"; /** * Get or create the background rendering service */ export declare function getRenderingService(): IBackgroundRenderingService; /** * Get or create the background configuration service */ export declare function getConfigurationService(): IBackgroundConfigurationService; /** * Get or create the geo location provider */ export declare function getGeoLocationProvider(): IGeoLocationProvider; /** * Set a custom geo location provider */ export declare function setGeoLocationProvider(provider: IGeoLocationProvider): void; /** * Set a custom rendering service */ export declare function setRenderingService(service: IBackgroundRenderingService): void; /** * Set a custom configuration service */ export declare function setConfigurationService(service: IBackgroundConfigurationService): void; /** * Reset all cached services (useful for testing) */ export declare function resetServices(): void; //# sourceMappingURL=ServiceFactory.d.ts.map