// @flow
import type {AvatarSize} from './avatar'
import type {SimpleProofState, UserInfo} from '../constants/tracker'
import {Component} from 'react'

export type BioEditFns = {
  onEditAvatarClick: () => void,
  onNameEdit: () => void,
  onBioEdit: () => void,
  onLocationEdit: () => void,
  onEditProfile: () => void,
}

export type Props = {
  type: 'Tracker' | 'Profile',
  loading: boolean,
  avatarSize: AvatarSize,
  style?: Object,
  username: ?string,
  userInfo: ?UserInfo,
  trackerState: SimpleProofState,
  currentlyFollowing: boolean,
  editFns?: ?BioEditFns,
  onAvatarLoaded?: () => void,
  onClickAvatar: () => void,
  onClickFollowers: () => void,
  onClickFollowing: () => void,
}

export default class Render extends Component<void, Props, void> {}
