import type { CSSProperties, TouchEvent } from 'react'; import type { GalleryPhoto } from '../types/gallery'; /** * Props for the active gallery photo surface. */ interface PhotoProps { photo?: GalleryPhoto | null; onPress?: () => void; onTouchStart?: (event: TouchEvent) => void; onTouchMove?: (event: TouchEvent) => void; onTouchEnd?: (event: TouchEvent) => void; onLoad?: () => void; onError?: () => void; style?: CSSProperties; } /** * Renders the main photo element and forwards interaction callbacks. */ declare function Photo({ photo, onPress, onTouchStart, onTouchMove, onTouchEnd, onLoad, onError, style, }: PhotoProps): import("react/jsx-runtime").JSX.Element | null; declare const MemoizedPhoto: import("react").MemoExoticComponent; export { MemoizedPhoto as Photo }; /** * @deprecated Use named import instead: `import { Photo } from './photo'`. * Default export will be removed in the next major version. */ export default MemoizedPhoto;