import React from 'react';
import type { GalleryItem } from './GalleryContext';
export type GalleryProps = {
    /** Whether clicking the empty gallery background should request close (default: true) */
    closeOnBackgroundClick?: boolean;
    /** Array of media attachments to display */
    items: GalleryItem[];
    /** Custom UI component to replace the default GalleryUI */
    GalleryUI?: React.ComponentType;
    /** Initial index of the item to display (default: 0) */
    initialIndex?: number;
    /** Callback when the active item changes */
    onIndexChange?: (index: number) => void;
    /** Callback invoked 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