import { FC, ReactNode } from 'react'; import { IAttachment } from '../index'; export interface GalleryProps { attachments: IAttachment[]; onRemove?: (attachmentIndex: number) => void; onError?: (message: string) => void; hideDownload?: boolean; children: (openGallery: (startIndex: number) => void) => ReactNode; } export declare const Gallery: FC;