import { default as React, MouseEventHandler, ReactNode } from 'react'; export type FileCardVariant = 'alert' | 'neutral'; export type FileCardProps = { /** * className for the element */ className?: string; /** * The title to display in the file card */ title: string | null; /** * The description to display in the file card */ description?: ReactNode; /** * The file's mime type */ mimeType?: string; /** * The visual style of the file card * @default neutral */ variant?: FileCardVariant; /** * Whether the file card component should be highlighted * @default false */ isHighlighted?: boolean; /** * Handler that is called when the file card is clicked */ onClick?: MouseEventHandler; /** * Handler that is called when the delete icon is clicked */ onDelete?: MouseEventHandler; }; export declare const FileCard: ({ className, title, description, mimeType, variant, isHighlighted, onClick, onDelete, ...rest }: FileCardProps) => React.JSX.Element; //# sourceMappingURL=FileCard.d.ts.map