import React, { RefObject } from 'react'; import { UnsplashPhoto } from 'src/types'; declare type Props = { data: UnsplashPhoto; width: number; height: number; onClick: (photo: UnsplashPhoto) => void; onKeyDown: (event: any) => void; active: boolean; onFocus: (photo: UnsplashPhoto) => void; }; export default class Photo extends React.Component { rootElm: RefObject; handleClick: (event: any) => void; handleCreditLineClicked: (event: any) => void; handleKeyDown: (event: any) => void; handleMouseDown: (event: any) => void; componentDidUpdate(prevProps: Props): void; render(): JSX.Element; } export {};