// @flow
import type {AsyncAction} from '../constants/types/flux'

declare function requestPushPermissions (): Promise<*>
declare function configurePush (): void
declare function showMainWindow (): AsyncAction
declare function showShareActionSheet (options: {url?: ?any, message?: ?any}): Promise<{completed: boolean, method: string}>

type NextURI = string
declare function saveAttachment (filePath: string): Promise<NextURI>


export {
  requestPushPermissions,
  showMainWindow,
  configurePush,
  saveAttachment,
  showShareActionSheet,
}
