import React from 'react'; import { type ComposableProps } from '../../../lib/slot'; export interface ImageProps extends Omit, 'src' | 'alt'> { /** Image source */ src: string; /** Alt text */ alt: string; /** Fallback image src */ fallback?: string; /** Placeholder to show while loading */ placeholder?: React.ReactNode; /** Enable preview on click */ preview?: boolean | PreviewConfig; /** Image width */ width?: number | string; /** Image height */ height?: number | string; /** Root class name */ rootClassName?: string; /** Callback when image fails to load */ onError?: (e: React.SyntheticEvent) => void; } export interface PreviewConfig { /** Whether preview is visible (controlled) */ visible?: boolean; /** Callback when preview visibility changes */ onVisibleChange?: (visible: boolean) => void; /** Source for preview (if different from main image) */ src?: string; /** Enable zoom */ zoom?: boolean; /** Enable rotation */ rotate?: boolean; /** Minimum zoom scale */ minScale?: number; /** Maximum zoom scale */ maxScale?: number; } export declare const Image: React.ForwardRefExoticComponent>; export default Image; //# sourceMappingURL=Image.d.ts.map