import type { ForYouContentPreset } from '../api/forYouFetch'; import type { GifsIaGalleryItem } from '../../GifsIa'; export interface GifsIaHookConfig { generateBaseUrl: string; apiBaseUrl?: string; apiUrl?: string; galleryTags?: string | string[]; galleryContents?: ForYouContentPreset[]; locale?: string; website_id?: string; pollInterval?: number; maxPollTime?: number; userId?: number; userLogin?: number; wid?: string; maxFileSizeMB?: number; } export interface UseGifsIaOptions { config?: Partial; galleryItems?: GifsIaGalleryItem[]; imageProxyUrl?: string; onGifCreated?: (gifUrl: string) => void; onDownload?: (gifUrl: string) => void; onCopyLink?: (gifUrl: string) => void; onError?: (error: string) => void; } export declare function useGifsIa({ config, galleryItems: galleryProp, imageProxyUrl, onGifCreated, onDownload, onCopyLink, onError, }?: UseGifsIaOptions): { gallery: GifsIaGalleryItem[]; loadingGallery: boolean; selectedGalleryId: string | number | null; setSelectedGalleryId: import("react").Dispatch>; uploadedImageBase64: string | null; setUploadedImageBase64: import("react").Dispatch>; processFile: (file: File) => boolean; isGenerating: boolean; generatedGifUrl: string | null; progressPercent: number | null; queuePosition: number | null; genError: string | null; copySuccess: boolean; createGif: () => Promise; reset: () => void; copyLink: () => Promise; download: () => Promise; }; //# sourceMappingURL=useGifsIa.d.ts.map