import type { AttachmentPreviewItem } from './AttachmentPreview.types'; export type StoredAttachment = { name: string; url: string; /** Bytes, as recorded at upload time. */ size?: number; }; /** * One of ours is stored under an S3 key, which is a path. An attachment that was linked rather * than uploaded keeps a bare file name and a url that already works, so signing it would only * produce a link to an object that was never there. */ export declare const getIsStoredKey: (name: string) => boolean; export declare const useStoredAttachment: (attachment?: StoredAttachment | null) => AttachmentPreviewItem | null; //# sourceMappingURL=useStoredAttachment.d.ts.map