export { M as MDX_FIGURE_LIGHTBOX_GALLERY_ID } from '../constants-CuaBcwMe.js'; import { P as PhotoSwipeImageData } from '../photo-swipe-BdrjP_BB.js'; export { a as PhotoSwipeGallery, b as PhotoSwipeGalleryProps, c as PhotoSwipeImage, d as PhotoSwipeImageProps, g as getImageDimensions, e as getRealImageDimensions, l as loadImageDimensions, u as usePhotoSwipe } from '../photo-swipe-BdrjP_BB.js'; import * as React$1 from 'react'; type FigureLightboxHostProps = { children: React.ReactNode; /** * Optional gallery filter. When omitted (default), every `button[data-pswp-src]` * in the subtree is handled — including ImageBlock / ImageGrid custom gallery ids. */ galleryId?: string; }; /** Resolve a lightbox trigger from a click target (any gallery). */ declare function resolveLightboxTrigger(target: Element): HTMLElement | null; /** * Single delegated click handler for all figure lightbox triggers in MDX content. * Mount once per MDX root (via MDXContentProvider). The gallery opens in the * design system's `MediaLightbox`. */ declare function FigureLightboxHost({ children, galleryId }: FigureLightboxHostProps): React$1.JSX.Element; type FigureLightboxTriggerProps = { alt: string; caption?: string; children: React.ReactNode; className?: string; galleryId?: string; height: number; src: string; width: number; }; declare function FigureLightboxTrigger({ src, alt, caption, width, height, galleryId, className, children, }: FigureLightboxTriggerProps): React$1.JSX.Element; /** Collect all lightbox triggers for a gallery id in DOM order. */ declare function collectFigureLightboxImages(galleryId: string, clickedTrigger: HTMLElement): { images: PhotoSwipeImageData[]; index: number; triggers: HTMLElement[]; }; /** True while a figure lightbox is open (or just closed on this Escape tick). */ declare function isFigureLightboxOpen(): boolean; export { FigureLightboxHost, FigureLightboxTrigger, PhotoSwipeImageData, collectFigureLightboxImages, isFigureLightboxOpen, resolveLightboxTrigger }; export type { FigureLightboxHostProps, FigureLightboxTriggerProps };