// @flow

import {Component} from 'react'
import type {Props as UserSearchProps} from './user-search/render'
import type {Props as SearchBarProps} from './user-search/search-bar'
import type {Props as UserGroupProps} from './user-search/user-group'
import type {UserFn} from './user-search/user-group'
import type {SearchResult} from '../constants/search'

export type RootProps = {
  username: string,
  userForInfoPane: ?SearchResult,
  showUserGroup: boolean,
  selectedUsers: Array<SearchResult>,
  searchTextClearTrigger: number,
  onRemoveUserFromGroup: UserFn,
  onClickUserInGroup: UserFn,
  onAddAnotherUserToGroup?: () => void,
  onOpenPrivateGroupFolder: () => void,
  onOpenPublicGroupFolder: () => void,
  onGroupChat: () => void,
  onReset: () => void,
  userPane: React$Element<*>,
}

export type Props = RootProps & UserSearchProps & UserGroupProps & SearchBarProps

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