export interface ContentPresetByTags { preset: 'getGlobalContentsByTags'; tags: string[]; locale?: string; website_id?: string; limit?: number; } export interface ContentPresetByIDs { preset: 'getGlobalContentsByIDs'; includeIds: number[]; locale?: string; website_id?: string; } export interface ContentPresetByCategory { preset: 'getContentsByCategory'; category: string; locale?: string; website_id?: string; limit?: number; } export interface ContentPresetCollectionByTags { preset: 'getCollectionByTags'; tags: string[]; locale?: string; website_id?: string; } export interface ContentPresetGeneric { preset: 'getContentPreset'; presetName: string; locale?: string; website_id?: string; [key: string]: unknown; } export type ForYouContentPreset = ContentPresetByTags | ContentPresetByIDs | ContentPresetByCategory | ContentPresetCollectionByTags | ContentPresetGeneric; export declare function buildPresetUrl(apiBaseUrl: string, preset: string): string; export declare function normalizeApiResponse(json: unknown): any[]; export declare function deduplicateById(items: any[]): any[]; export interface ForYouFetchOptions { apiUrl?: string; apiBaseUrl?: string; tags?: string | string[]; contents?: ForYouContentPreset[]; locale?: string; website_id?: string; limit?: number; } export declare function forYouFetch(options: ForYouFetchOptions): Promise; //# sourceMappingURL=forYouFetch.d.ts.map