import { NewsApi } from '../types/news/NewsApi'; import { NewsApiConfig } from '../types/news/NewsApiConfig'; /** * Builds a news service bound to one host configuration. * * Replaces the per-widget `apiService` modules that the alerts, * unacknowledged-bulletins and global-content widgets each maintained: a fix or * improvement here (CSRF fail-fast, typed errors, robust title fallback) now * reaches every consumer at once. Each returned method is a thin binding over a * single-purpose function in this module. * @param {NewsApiConfig} config - The injected, host-specific configuration. * @returns {NewsApi} The bound news service. */ export declare const createNewsApi: (config: NewsApiConfig) => NewsApi; //# sourceMappingURL=createNewsApi.d.ts.map