import { type DefaultProps } from '../config'; export type ImageMode = 'scaleToFill' | 'aspectFit' | 'aspectFill' | 'widthFix' | 'heightFix' | 'top' | 'bottom' | 'center' | 'left' | 'right' | 'top left' | 'top right' | 'bottom left' | 'bottom right'; export interface ImageProps { src?: string; mode?: ImageMode; loading?: 'eager' | 'lazy'; width?: string; height?: string; shape?: 'circle' | 'square'; radius?: string; showLoading?: boolean; showError?: boolean; background?: string; fade?: boolean; customLoad?: (callback: (event: any) => void) => any; } export declare const defaultImageProps: DefaultProps; export interface ImageSlots { loading?(props: Record): any; error?(props: Record): any; } export interface ImageEmits { (e: 'click', event: MouseEvent): void; (e: 'load', event: Event): void; (e: 'error', event: Event): void; } export interface ImageExpose { } export declare const FIX_MODES: { widthFix: boolean; heightFix: boolean; }; export declare const IMAGE_MODES: { aspectFit: string[]; aspectFill: string[]; scaleToFill: string[]; widthFix: (string | undefined)[]; heightFix: (string | undefined)[]; top: string[]; bottom: string[]; left: string[]; right: string[]; center: string[]; 'top left': string[]; 'top right': string[]; 'bottom left': string[]; 'bottom right': string[]; };