/* eslint-disable no-unused-vars */ type TImageSource = string | null type TProps = { [key: string]: any } type TState = { canUseDOM: boolean, height: number, width: number, offset: { x: number, y: number, } } type TConfig = { querySelector?: string, rate?: number, mode?: string, handleWidth?: boolean, handleHeight?: boolean, mapStateToProps?: Function, onSize?: Function, }; type TChildProps = { [key: string]: any }