text: /**
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   *
   * @format
   * @flow strict
   */
  
  'use strict';
  
  import type {SyntheticEvent} from 'CoreEventTypes';
  
  // [TODO(android ISS)
  export type AccessibilityNodeInfoProp = {
    clickable: boolean,
  }; // ]TODO(android ISS)
  
  // This must be kept in sync with the AccessibilityRolesMask in RCTViewManager.m
  export type AccessibilityRole =
    | 'none'
    | 'button'
    | 'link'
    | 'search'
    | 'image'
    | 'keyboardkey'
    | 'text'
    | 'adjustable'
    | 'imagebutton'
    | 'header'
    | 'summary'
    | 'alert'
    | 'checkbox'
    | 'combobox'
    | 'menu'
    | 'menubar'
    | 'menuitem'
    | 'progressbar'
    | 'radio'
    | 'radiogroup'
    | 'scrollbar'
    | 'spinbutton'
    | 'switch'
    | 'tab'
    | 'tablist'
    | 'timer'
    | 'toolbar';
  
  // This must be kept in sync with the AccessibilityStatesMask in RCTViewManager.m
  export type AccessibilityStates = $ReadOnlyArray<
    | 'disabled'
    | 'selected'
    | 'checked'
    | 'unchecked'
    | 'busy'
    | 'expanded'
    | 'collapsed'
    | 'hasPopup',
  >;
  
  // the info associated with an accessibility action
  export type AccessibilityActionInfo = $ReadOnly<{
    name: string,
    label?: string,
  }>;
  
  // The info included in the event sent to onAccessibilityAction
  export type AccessibilityActionEvent = SyntheticEvent<
    $ReadOnly<{
      actionName: string,
    }>,
  >;
  