export interface ApiConfig { backendBaseUrl: string; s3BucketUrl: string; socketBaseUrl: string; appLogo: string; appFavicon: string; appEnv?: string; aiFeatureEnabled?: string; countryEnv?: string; } type ConfigSubscriber = (config: ApiConfig) => void; /** * Register a callback to be called when API config is initialized. * If config is already initialized, the callback is called immediately. * This allows modules to register their setBaseUrl calls without * worrying about initialization order. */ export declare function onApiConfigReady(callback: ConfigSubscriber): void; export declare function initializeApiConfig(config: ApiConfig): void; export declare function getApiConfig(): ApiConfig; /** * Get API config if available, otherwise return null. * Use this for optional access where you want to gracefully handle * uninitialized state. */ export declare function getApiConfigSafe(): ApiConfig | null; export declare function isApiConfigInitialized(): boolean; export declare function resetApiConfig(): void; export {};