import { FetchArticlesOptions } from '../types/news/FetchArticlesOptions'; import { NewsApiConfig } from '../types/news/NewsApiConfig'; import { Post } from '../types/news/Post'; /** * Fetches a channel's posts, paginated and (by default) filtered to the * currently-published window. * * `scope` selects the client or channel posts endpoint. With * `requireChannelPublished`, an unpublished channel short-circuits to an empty * list. With `includeUnpublished`, the per-post publication filter is skipped * (used by configuration selectors that list every article). * @template TArticle The post shape returned (defaults to Post). * @param {NewsApiConfig} config - The injected service configuration. * @param {string} channelId - The channel id. * @param {FetchArticlesOptions} [options] - Endpoint and filtering options. * @returns {Promise} The posts. */ export declare const fetchArticles: = Post>(config: NewsApiConfig, channelId: string, options?: FetchArticlesOptions) => Promise; //# sourceMappingURL=fetchArticles.d.ts.map