import { S as SEOFasterConfig, A as Article, F as FetchArticlesOptions, d as ArticleListResponse, e as FetchRelatedArticlesOptions, h as SlimArticle, a as SEOFasterClient } from './types-2c-alqW2.js'; export { i as CachedClient, C as CachedClientConfig } from './types-2c-alqW2.js'; /** * Configuration for the cached client */ interface CreateCachedClientOptions extends SEOFasterConfig { /** * Enable unstable_cache for cross-request persistence * When true, uses Next.js unstable_cache + React cache() for dual-layer caching * When false, only uses React cache() for single-request deduplication * @default true */ enableUnstableCache?: boolean; } declare function createCachedClient(options: CreateCachedClientOptions): { getArticleBySlug: (slug: string, locale?: string) => Promise
; getArticles: (options?: FetchArticlesOptions) => Promise; getRelatedArticles: (options?: FetchRelatedArticlesOptions) => Promise; /** * Access the underlying client for advanced use cases */ _client: SEOFasterClient; }; /** * Type for the cached client returned by createCachedClient */ type CachedSEOFasterClient = ReturnType; export { type CachedSEOFasterClient, type CreateCachedClientOptions, createCachedClient };