import React from 'react'; import type { GalleryItem } from './GalleryContext'; export type GalleryProps = { /** Whether clicking the empty gallery background requests close. Defaults to true. */ closeOnBackgroundClick?: boolean; items: GalleryItem[]; /** Replaces the default UI and takes precedence over `ComponentContext.GalleryUI`. */ GalleryUI?: React.ComponentType; /** Index of the item shown first. Defaults to 0. */ initialIndex?: number; /** Called on mount and whenever the active index changes. */ onIndexChange?: (index: number) => void; /** Called when the gallery requests to close. */ onRequestClose?: () => void; }; export declare const Gallery: ({ closeOnBackgroundClick, GalleryUI, initialIndex, items, onIndexChange, onRequestClose, }: GalleryProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=Gallery.d.ts.map