import type { ForYouContentPreset } from '../api/forYouFetch'; export interface WallpaperHookItem { id: string; title: string; thumbnail: string; imageUrl?: string; videoUrl?: string; } export interface WallpapersHookConfig { apiUrl?: string; apiBaseUrl?: string; wallpaperTag?: string; tags?: string[]; locale?: string; initialCount?: number; loadMoreCount?: number; fallbackImage?: string; website_id?: string; contents?: ForYouContentPreset[]; } export interface UseWallpapersOptions { config?: Partial; wallpapers?: WallpaperHookItem[]; onDownloadSuccess?: (wallpaper: WallpaperHookItem) => void; onDownloadError?: (wallpaper: WallpaperHookItem, error: unknown) => void; } export declare const DEFAULT_WALLPAPERS_CONFIG: WallpapersHookConfig; export declare function useWallpapers({ config, wallpapers: wallpapersProp, onDownloadSuccess, onDownloadError, }?: UseWallpapersOptions): { allWallpapers: WallpaperHookItem[]; visibleWallpapers: WallpaperHookItem[]; isLoading: boolean; error: string | null; hasMore: boolean; downloadingId: string | null; loadMore: () => void; handleDownload: (wallpaper: WallpaperHookItem, type?: "image" | "video") => Promise; downloadWallpaper: (wallpaper: WallpaperHookItem, type?: "image" | "video") => Promise; }; //# sourceMappingURL=useWallpapers.d.ts.map