<commit_before>type Difference = {
  kind: 'N'|'D'|'E'|'A',
  path: string,
  lhs: ?any,
  rhs: ?any,
  index?: number,
  item?: Difference,
}

type PrefilterFn = (path: string, key: string) => bool;

declare module 'deep-diff' {
  declare function exports(lhs: any, rhs: any, prefilter?: PrefitlerFn, acc?: Array<any>): ?Array<Difference>;
  declare function diff(lhs: any, rhs: any, prefilter?: PrefitlerFn, acc?: Array<any>): ?Array<Difference>;
  declare function observableDiff(lhs: any, rhs: any, observerFn: Function): void;
  declare function applyChange(lhs: any, rhs: any, difference: Difference): void;
  declare function revertChange(lhs: any, rhs: any, difference: Difference): void;<commit_msg><deep-diff> typo<commit_after>type Difference = {
  kind: 'N'|'D'|'E'|'A',
  path: string,
  lhs: ?any,
  rhs: ?any,
  index?: number,
  item?: Difference,
}

type PrefilterFn = (path: string, key: string) => bool;

declare module 'deep-diff' {
  declare function exports(lhs: any, rhs: any, prefilter?: PrefilterFn, acc?: Array<any>): ?Array<Difference>;
  declare function diff(lhs: any, rhs: any, prefilter?: PrefilterFn, acc?: Array<any>): ?Array<Difference>;
  declare function observableDiff(lhs: any, rhs: any, observerFn: Function): void;
  declare function applyChange(lhs: any, rhs: any, difference: Difference): void;
  declare function revertChange(lhs: any, rhs: any, difference: Difference): void;
{'fraction_non_alphanumeric': 0.15574348132487667, 'fraction_numerical': 0.0, 'mean_word_length': 5.794258373205742, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 14, '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': '4063244', 'n_tokens_mistral': 496, 'n_tokens_neox': 484, 'n_words': 146}