import React from "react";
declare const UserDetails: React.FC<UserDetailsProps>;
export interface UserDetailsProps {
    imageUrl: string;
    username: string;
    editable?: boolean;
    editing?: boolean;
    accentColor?: string;
    onEdit?: () => void;
    onCancel?: () => void;
    onSubmit?: (result: Promise<{
        editedImg: string;
        username: string;
    }>) => void;
    loading?: boolean;
}
export default UserDetails;
