import * as React from "react"; import { IImageProps } from "../../components/Image"; import { IModalProps } from "../../components/Modal"; import { IUploadEvent } from "../../components/Upload"; interface IFindPhotosOfMeProps { referencePhotoSrc?: string; modal?: IModalProps; findPhotos: (upload: IUploadEvent) => Promise; onClose?: () => void; onFoundImages?: (images: any) => void; } interface IFindPhotosOfMeState { navigate: "upload" | "loading" | "edit-photo" | "fail"; targetImage?: IUploadEvent; foundImages?: any[]; } export declare class FindPhotosOfMe extends React.PureComponent { static getDerivedStateFromProps(props: IFindPhotosOfMeProps, state: IFindPhotosOfMeState): { targetImage: { image: { src: any; }; file?: File; files?: FileList; }; }; state: IFindPhotosOfMeState; componentDidMount(): void; componentDidUpdate(prevProps: IFindPhotosOfMeProps, prevState: IFindPhotosOfMeState): void; render(): JSX.Element; private renderUploadPhoto; private renderEditPhoto; private renderLoader; private renderError; private findPhotos; } export {};