import { Component } from 'react'; import { TFileTypes, ICheckResponse } from './types'; export interface ICheckerPropTypes { types: TFileTypes; multiple?: boolean; onDrop?: (res: ICheckResponse) => void; children?: JSX.Element | string; className?: string; style?: any; imageConstraint?: { maxBytesPerPixel: number; maxSize: number; maxWidth?: number; }; videoConstraint?: { maxBytesPerPixelPerSecond: number; maxSize: number; maxWidth?: number; maxDuration: number; }; } export interface ICheckerStateTypes { } export default class UploadChecker extends Component { static defaultProps: ICheckerPropTypes; private handleDrop; render(): JSX.Element; }