import { type ComponentPropsWithoutRef, type MouseEvent } from 'react'; import { useAttachments } from './ai-message-composer'; export declare const Item: ({ file, onDelete, onRetry, state, title, imagePreviewSource, }: { file: File; state?: "uploading" | "finished" | "failed" | "pending" | (string & {}); title?: string; imagePreviewSource?: string; onDelete?: (_: MouseEvent) => void; onRetry?: (_: MouseEvent) => void; }) => import("react/jsx-runtime").JSX.Element; export declare const AttachmentPreview: { ({ children, ...restProps }: ComponentPropsWithoutRef<"div"> & { children?: React.ReactNode | ((_: ReturnType) => React.ReactNode); }): import("react/jsx-runtime").JSX.Element | null; Item: ({ file, onDelete, onRetry, state, title, imagePreviewSource, }: { file: File; state?: "uploading" | "finished" | "failed" | "pending" | (string & {}); title?: string; imagePreviewSource?: string; onDelete?: (_: MouseEvent) => void; onRetry?: (_: MouseEvent) => void; }) => import("react/jsx-runtime").JSX.Element; }; export declare const chunk: (array: T, size: number) => T[]; //# sourceMappingURL=attachment-preview.d.ts.map