import * as React from "react";
import AvatarEditor from "react-avatar-editor";
export interface UserSetAvatarProps {
    headerComponent?: JSX.Element;
    channelID: string;
    onSetAvatarComplete?(): void;
}
export interface UserSetAvatarState {
    avatarDataURL: string;
    errorMessage: string | undefined;
    scale: number;
    image?: any;
    preview?: PreviewImageState;
    saveInProgress: boolean;
    useSmallAvatarEditor: boolean;
}
export interface PreviewImageState {
    image: string;
    rect: any;
    scale: number;
    width: number;
    height: number;
    borderRadius: number;
}
export declare class UserSetAvatar extends React.Component<UserSetAvatarProps, UserSetAvatarState> {
    editor: AvatarEditor | null;
    constructor(props: UserSetAvatarProps);
    render(): JSX.Element;
    handleNewImage: (e: any) => void;
    private onSkipForNowClicked;
    private renderAvatarSelector;
    private handleSubmit;
}
