import type { FileUploaderGalleryProps } from './FileUploaderGallery.types'; interface FileUploaderGalleryStore { /** Indicates if the gallery is currently open */ isOpen: boolean; /** Current props of the open gallery instance */ galleryProps: FileUploaderGalleryProps | null; /** * Opens the gallery from anywhere in the system * @param props Gallery configuration properties */ openGallery: (props: FileUploaderGalleryProps) => void; /** Closes the active gallery instance */ closeGallery: () => void; /** Updates the current props of the open gallery instance */ updateGalleryProps: (props: Partial) => void; /** Specialized update for the resources list */ updateResources: (uuid: string, checked: boolean) => void; /** Specialized update for error messages */ setError: (error: { title: string; message: string; } | null) => void; } /** * Zustand hook to manage the file gallery globally. * * Este store proporciona el método solicitado para abrir la galería * (en modo modal o página) desde cualquier parte del frontend. */ export declare const useFileUploaderGallery: import("zustand").UseBoundStore>; export {}; //# sourceMappingURL=useFileUploaderGallery.d.ts.map