import { NewsApiConfig } from '../types/news/NewsApiConfig'; /** * Acknowledges a post for the current user. * * Fails fast (and reports via onError) when no CSRF token is available, since a * tokenless POST is guaranteed to be rejected and would otherwise surface as a * silent failure. On a non-OK response it reports the status and body, then * throws a typed ApiError so callers can branch on `status`. * @param {NewsApiConfig} config - The injected service configuration. * @param {string} id - The post id to acknowledge. * @returns {Promise} Resolves when the acknowledgement succeeds. * @throws {ApiError | Error} On a missing CSRF token or a failed request. */ export declare const acknowledgeArticle: (config: NewsApiConfig, id: string) => Promise; //# sourceMappingURL=acknowledgeArticle.d.ts.map