import { ModelError } from '../../models'; /** * An object that can be created from either a V4 article or a legacy one for use * in places where either may be available */ export interface NormalizedArticle { id: number | string | null; slug: string | null; title: string | null; promo: string | null; displayDate: string | null; promoImage: string | null; topics?: string[] | null; } /** * Fetches either V4 articles or legacy ones based on useLegacyArticles setting */ export default function fetchArticles({ count, page, }?: { count?: number; page?: number; }): Promise<{ results: NormalizedArticle[]; errors: ModelError[] | null; }>; //# sourceMappingURL=fetch-articles.d.ts.map