// @flow
import type {FileSection, Device, ParticipantUnlock} from '../../constants/folders'
import type {MenuItem, Props as MenuProps} from '../../common-adapters/popup-menu'
import type {Props as FileProps} from './file/render'
import type {UserList} from '../../common-adapters/usernames'
import {Component} from 'react'

export type Props = {
  theme: 'public' | 'private',
  ignored: boolean,
  allowIgnore: boolean,
  visiblePopupMenu: boolean,
  popupMenuItems: $PropertyType<MenuProps, 'items'>,
  selfUsername: string,
  users: UserList,
  showGroupIcon?: boolean, // TODO (this is not implemented, but this will show the group icon instead of user avatars)
  onBack: () => void,
  onTogglePopupMenu: () => void,
  recentFilesSection: Array<FileSection>,
  recentFilesEnabled: boolean, // TODO (AW): remove when recentFiles feature is finished
  openCurrentFolder: () => void,
  openConversationFromFolder: () => void,
  ignoreCurrentFolder: () => void,
  unIgnoreCurrentFolder: () => void,
  waitingForParticipantUnlock: Array<ParticipantUnlock>,
  youCanUnlock: Array<Device>,
  onClickPaperkey: (device: Device) => void,
  hasReadOnlyUsers: boolean,
}

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