import { FC, IglooComponentProps } from '../types'; import './style'; export interface Props extends IglooComponentProps { handleUpload?(file: File): PromiseLike; value?: (string | { name: string; status: 'failed'; errorMsg: string; })[]; onChange?: (value: any) => void; limit?: number; limitErrorMessage?: Function | string; descriptions?: any; buttonText?: any; samples?: Sample[]; className?: any; id?: string; bizKey?: string; capture?: boolean; disabled?: boolean; } export type Sample = { src: string; label?: string; type?: 'good' | 'bad'; }; declare const UploadPhoto: FC; export default UploadPhoto;