<commit_before>// @flow

export type DialogType = {
  width: number;
  height: number;
  haveOverlay: bool;
  overlayPointerEvents: string;
  overlayBackgroundColor: string;
  overlayOpacity: number;
  dialogAnimation: Object;
  dialogStyle: Object | number;
  animationDuration: number;
  closeOnTouchOutside: bool;
  open: bool;
  onOpened: Function;
  onClosed: Function;
  actions: Array;
  children: any;
}

export type DialogButtonType = {
  text: string;
  align: string;
  onPress: Function;
  buttonStyle: Object | number;
  textStyle: Object | number;
  textContainerStyle: Object | number;
  disabled: Boolean;
  activeOpacity: number;
}

export type DialogTitleType = {
  title: string | number;
  titleStyle: Object | number;
  titleTextStyle: Object | number;
  titleAlign: string;
  haveTitleBar: Boolean;
}

export type OverlayType = {
  onPress: Function;
  backgroundColor: string;
  opacity: number;
  animationDuration: number;
  showOverlay: bool;
  pointerEvents: string;
}<commit_msg>fix bool and Boolean -> boolean<commit_after>// @flow

export type DialogType = {
  width: number;
  height: number;
  haveOverlay: boolean;
  overlayPointerEvents: string;
  overlayBackgroundColor: string;
  overlayOpacity: number;
  dialogAnimation: Object;
  dialogStyle: Object | number;
  animationDuration: number;
  closeOnTouchOutside: boolean;
  open: boolean;
  onOpened: Function;
  onClosed: Function;
  actions: Array;
  children: any;
}

export type DialogButtonType = {
  text: string;
  align: string;
  onPress: Function;
  buttonStyle: Object | number;
  textStyle: Object | number;
  textContainerStyle: Object | number;
  disabled: boolean;
  activeOpacity: number;
}

export type DialogTitleType = {
  title: string | number;
  titleStyle: Object | number;
  titleTextStyle: Object | number;
  titleAlign: string;
  haveTitleBar: boolean;
}

export type OverlayType = {
  onPress: Function;
  backgroundColor: string;
  opacity: number;
  animationDuration: number;
  showOverlay: boolean;
  pointerEvents: string;
}
{'fraction_non_alphanumeric': 0.09197651663405088, 'fraction_numerical': 0.0, 'mean_word_length': 4.542005420054201, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7604787', 'n_tokens_mistral': 628, 'n_tokens_neox': 620, 'n_words': 182}