import React from 'react'; export type GalleryImage = { /** Stable key for React lists (and for tracking the active lightbox image). */ key: string; /** Public image URL once resolved; null/undefined while loading or on failure. */ url?: string | null; /** Source file name, used for alt text and the failed-tile label. */ fileName?: string; /** True while the image is still resolving (renders a placeholder tile). */ loading?: boolean; /** True once the image failed to resolve (renders a failed tile). */ failed?: boolean; }; /** Generic image gallery: a single resolved image renders inline (full width, * natural aspect ratio); a batch collapses into a 2-column grid. Tapping a * resolved image opens a full-screen lightbox that pages through the resolved * images (swipe or arrows). Loading/failed images render placeholder tiles. * * Shared by the `send_image` tool renderer (`SendImageGallery`) and the * image-attachment preview in chat messages. */ export declare function ImageGallery({ images, onOpen }: { images: GalleryImage[]; onOpen?: (image: GalleryImage) => void; }): React.JSX.Element | null; //# sourceMappingURL=ImageGallery.d.ts.map