import React, { FunctionComponent } from 'react'; import { BasicComponent } from '../../utils/typings'; export type AvatarCropperToolbarPosition = 'top' | 'bottom'; export type AvatarCropperSizeType = 'original' | 'compressed'; export type AvatarCropperSourceType = 'album' | 'camera'; export type AvatarCropperShape = 'square' | 'round'; export interface AvatarCropperProps extends BasicComponent { maxZoom: number; space: number; toolbar: React.ReactNode[]; toolbarPosition: AvatarCropperToolbarPosition; editText: React.ReactNode | string; sizeType: AvatarCropperSizeType[]; sourceType: AvatarCropperSourceType[]; shape: AvatarCropperShape; onConfirm: (e: string) => void; onCancel: () => void; } export declare const AvatarCropper: FunctionComponent>;