import { ItemType, LocalFileItemExtra, S3FileItemExtra, UnionOfConst } from '@graasp/sdk'; export type ItemIconProps = { alt: string; /** * item type */ type: UnionOfConst | 'upload'; /** * An HTML Color to use for the foreground of the icon */ color?: string; /** * @deprecated Use the `mimetype` prop. * To extract the mimetype from the item extra use the `getMimetype` function exported from @graasp/sdk * Item extra used to define the mimetype */ extra?: LocalFileItemExtra | S3FileItemExtra; mimetype?: string; iconSrc?: string; size?: string; }; declare const ItemIcon: ({ color, extra, mimetype: defaultMimetype, iconSrc, alt, size, type, }: ItemIconProps) => JSX.Element; export default ItemIcon;