/* tslint:disable */
/* eslint-disable */
export function diffChars(old_str: string, new_str: string, options: any): any;
export function diffCss(old_str: string, new_str: string, opts: any): any;
export function canonicalize(js_val: any): any;
export function diffJson(old_val: any, new_val: any, opts: any): any;
export function diffLines(old_str: string, new_str: string, js_opts: any): any;
export function diffTrimmedLines(old_str: string, new_str: string, callback_or_opts: any): any;
export function diffSentences(old_str: string, new_str: string, opts: any): any;
export function diffWords(old: string, new_: string, opts: any): any;
export function diffWordsWithSpace(old: string, new_: string, opts: any): any;
export function applyPatch(source: string, uni_diff: any, opts: any): any;
export function applyPatches(uni_diff: string, cb: Function): void;
export function structuredPatch(old_file_name: string, new_file_name: string, old_str: string, new_str: string, old_header: string | null | undefined, new_header: string | null | undefined, opts: any): any;
export function formatPatch(val: any): string;
export function createTwoFilesPatch(old_file: string, new_file: string, old_str: string, new_str: string, old_header: string | null | undefined, new_header: string | null | undefined, opts: any): string;
export function createPatch(file_name: string, old_str: string, new_str: string, old_header: string | null | undefined, new_header: string | null | undefined, opts: any): string;
export function isUnix(v: any): boolean;
export function isWin(v: any): boolean;
export function winToUnix(v: any): any;
export function unixToWin(v: any): any;
export function parsePatch(uni_diff: string): any;
export function reversePatch(val: any): any;
export function convertChangesToXML(changes_js: any): string;
export function set_panic_hook(): void;
export class lineDiff {
  private constructor();
  free(): void;
  static tokenize(value: string, opts: any): any;
}
export class sentenceDiff {
  private constructor();
  free(): void;
  static tokenize(text: string): any;
}
export class wordDiff {
  private constructor();
  free(): void;
  static tokenize(text: string): any;
}
