import 'photoswipe/style.css'; import '../photoswipe/skin/skin.css'; type Props = { gallery?: { elements: { id: string | number; image: { id?: number; src: string; origins?: string; preview: string; width: number; height: number; }; }[]; }; onGalleryOpen?: () => void; onSlideChange?: (index: number) => void; elementsSource?: 'className' | 'containerChildren'; }; export declare const usePhotoswipe: ({ gallery, onGalleryOpen, onSlideChange, elementsSource }: Props) => { galleryId: string; }; export default usePhotoswipe;