import type { AttachmentPreviewItem } from '../AttachmentPreview/AttachmentPreview.types'; export type UseAttachmentLightboxOptions = { /** Adds "Share file" to the overflow menu. */ onShare?: (item: AttachmentPreviewItem) => void; }; /** Wires attachments to the preview modal; a kind with no renderer shows a download card. */ export declare const useAttachmentLightbox: (items: AttachmentPreviewItem[], { onShare }?: UseAttachmentLightboxOptions) => { openAttachment: (item: AttachmentPreviewItem) => void; lightbox: import("react/jsx-runtime").JSX.Element; }; //# sourceMappingURL=useAttachmentLightbox.d.ts.map