/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @flow strict
 */

import * as React from 'react';

export type Props = $ReadOnly<{
  ...$Partial<HTMLDivElement>,
  ariaActiveDescendant?: HTMLDivElement['aria-activedescendant'],
  ariaAutoComplete?: HTMLDivElement['aria-autocomplete'],
  ariaControls?: HTMLDivElement['aria-controls'],
  ariaDescribedBy?: HTMLDivElement['aria-describedby'],
  ariaExpanded?: HTMLDivElement['aria-expanded'],
  ariaLabel?: HTMLDivElement['aria-label'],
  ariaLabelledBy?: HTMLDivElement['aria-labelledby'],
  ariaMultiline?: HTMLDivElement['aria-multiline'],
  ariaOwns?: HTMLDivElement['aria-owns'],
  ariaRequired?: HTMLDivElement['aria-required'],
  autoCapitalize?: HTMLDivElement['autocapitalize'],
  'data-testid'?: string | null,
  ...
}>;

declare export function ContentEditable(props: Props): React$Node;
