export interface NewsItem { preset?: string; id: string | number; api_content_id?: string | number; title: string; description: string; excerpt?: string; category: string; tag?: string; thumbnail?: string; images?: { img1?: string; img2?: string; img3?: string; img4?: string; xl?: string; sm?: string; thumbnail?: string; [key: string]: string | undefined; }; date: string; time?: string; featured?: boolean; contents?: string; source_domain?: string; } export interface ContentConfig { preset: string; apiProviderId?: number; category?: number[]; tags?: string[]; includeIds?: number[]; limit?: number; [key: string]: any; } export interface EsportsNewsConfig { key: string; contents: ContentConfig[]; } export interface EsportsNewsTheme { container?: string; sectionTitle?: string; mainGrid?: string; featuredCard?: string; featuredImage?: string; featuredContent?: string; featuredBadge?: string; featuredTitle?: string; featuredExcerpt?: string; featuredTime?: string; secondaryContainer?: string; secondaryCard?: string; secondaryImage?: string; secondaryContent?: string; secondaryBadge?: string; secondaryTitle?: string; secondaryTime?: string; scrollContainer?: string; scrollCard?: string; scrollImage?: string; scrollContent?: string; scrollBadge?: string; scrollTitle?: string; scrollTime?: string; navButton?: string; navButtonLeft?: string; navButtonRight?: string; loading?: string; error?: string; empty?: string; } export interface CategoryStyle { badge?: string; badgeText?: string; } export type TranslationFunction = (key: string, params?: Record) => string; export interface EsportsNewsProps { config?: EsportsNewsConfig; language: string; onNewsClick?: (news: NewsItem) => void; translateFn?: TranslationFunction; theme?: EsportsNewsTheme; categoryStyles?: { [key: string]: CategoryStyle; }; defaultCategoryStyle?: CategoryStyle; newsId?: string; newsData?: NewsItem | any; onBack?: () => void; website_id?: string; } //# sourceMappingURL=types.d.ts.map