import { ComponentPropsWithoutRef } from 'react'; export declare type ImageRatio = '1:1' | '2:1' | '3:1' | '4:1'; export declare type ImageType = 'product' | 'profile' | 'default'; declare type ImageAttributes = ComponentPropsWithoutRef<'div'>; export interface ImageProps extends Omit { /** * Set image alt * @default '' */ alt?: string; /** * Set image className */ className?: string; /** * Show loading background */ loading?: boolean; /** * Set the size of image. Can accept either pre-defined value, or custom value. * Accepted pre-defined values are `micro` | `small` | `medium` | `large` | `extra large`. * @default '' */ size?: string | 'micro' | 'small' | 'medium' | 'large' | 'extra large'; /** * Set Ratio Image * @default '1:1' */ ratio?: ImageRatio; /** * Set image src * @default '' */ src?: string; /** * Set image type * @default 'default' */ type?: ImageType; } export {};