/* @flow */ import * as TrezorConnectActions from 'actions/TrezorConnectActions'; import * as RouterActions from 'actions/RouterActions'; import { toggleDeviceDropdown } from 'actions/WalletActions'; import type { State } from 'flowtype'; export type StateProps = { connect: $ElementType, accounts: $ElementType, router: $ElementType, deviceDropdownOpened: boolean, fiat: $ElementType, localStorage: $ElementType, discovery: $ElementType, wallet: $ElementType, devices: $ElementType, pending: $ElementType, } export type DispatchProps = { toggleDeviceDropdown: typeof toggleDeviceDropdown, addAccount: typeof TrezorConnectActions.addAccount, acquireDevice: typeof TrezorConnectActions.acquire, forgetDevice: typeof TrezorConnectActions.forget, duplicateDevice: typeof TrezorConnectActions.duplicateDevice, gotoDeviceSettings: typeof RouterActions.gotoDeviceSettings, onSelectDevice: typeof RouterActions.selectDevice, } export type Props = StateProps & DispatchProps;