export type AttachmentState = 'idle' | 'uploading' | 'processing' | 'error' | 'done'; export type AttachmentSize = 'default' | 'sm' | 'xs'; export type AttachmentOrientation = 'horizontal' | 'vertical'; /** * seki-attachment: File/image attachment card with metadata, upload states, * and actions โ€” for chat composers, message threads, and upload lists. * * The card is a positioned surface that composes `seki-attachment-media` * (icon or image preview), `seki-attachment-content` (title + description), * and optional `seki-attachment-actions` / `seki-attachment-trigger` overlays. * A `seki-attachment-trigger` fills the whole card behind the actions row so * the two interaction layers stay independently focusable and clickable. * * The `uploading` and `processing` states apply a shimmer sweep across the * card (with a static muted fallback under `prefers-reduced-motion`); the * `error` state paints a destructive border and title. Group several cards * into a horizontally scrollable row with `seki-attachment-group`. * * @component Attachment * @slot - Default slot for media, content, actions, and an optional trigger. * @example * * ๐Ÿ“„ * * sales-dashboard.pdf * 2.4 MB ยท PDF * * * โœ• * * */ export declare class SekiAttachment { el: HTMLElement; /** * Upload/lifecycle state of the attachment. * `uploading` and `processing` shimmer the card; `error` paints a * destructive border and title. Reflected to the host attribute. * @default 'done' */ state: AttachmentState; /** * Visual density of the card. Reflected to the host attribute. * @default 'default' */ size: AttachmentSize; /** * Layout orientation. `horizontal` places the media beside the content; * `vertical` stacks the media above the content (image previews). * Reflected to the host attribute. * @default 'horizontal' */ orientation: AttachmentOrientation; render(): any; }