index.d.ts 2.6 KB

1234567891011121314151617181920
  1. import Diff from './diff/base.js';
  2. import { diffChars, characterDiff } from './diff/character.js';
  3. import { diffWords, diffWordsWithSpace, wordDiff, wordsWithSpaceDiff } from './diff/word.js';
  4. import { diffLines, diffTrimmedLines, lineDiff } from './diff/line.js';
  5. import { diffSentences, sentenceDiff } from './diff/sentence.js';
  6. import { diffCss, cssDiff } from './diff/css.js';
  7. import { diffJson, canonicalize, jsonDiff } from './diff/json.js';
  8. import { diffArrays, arrayDiff } from './diff/array.js';
  9. import { applyPatch, applyPatches } from './patch/apply.js';
  10. import type { ApplyPatchOptions, ApplyPatchesOptions } from './patch/apply.js';
  11. import { parsePatch } from './patch/parse.js';
  12. import { reversePatch } from './patch/reverse.js';
  13. import { structuredPatch, createTwoFilesPatch, createPatch, formatPatch } from './patch/create.js';
  14. import type { StructuredPatchOptionsAbortable, StructuredPatchOptionsNonabortable, CreatePatchOptionsAbortable, CreatePatchOptionsNonabortable } from './patch/create.js';
  15. import { convertChangesToDMP } from './convert/dmp.js';
  16. import { convertChangesToXML } from './convert/xml.js';
  17. import type { ChangeObject, Change, DiffArraysOptionsAbortable, DiffArraysOptionsNonabortable, DiffCharsOptionsAbortable, DiffCharsOptionsNonabortable, DiffLinesOptionsAbortable, DiffLinesOptionsNonabortable, DiffWordsOptionsAbortable, DiffWordsOptionsNonabortable, DiffSentencesOptionsAbortable, DiffSentencesOptionsNonabortable, DiffJsonOptionsAbortable, DiffJsonOptionsNonabortable, DiffCssOptionsAbortable, DiffCssOptionsNonabortable, StructuredPatch, StructuredPatchHunk } from './types.js';
  18. export { Diff, diffChars, characterDiff, diffWords, wordDiff, diffWordsWithSpace, wordsWithSpaceDiff, diffLines, lineDiff, diffTrimmedLines, diffSentences, sentenceDiff, diffCss, cssDiff, diffJson, jsonDiff, diffArrays, arrayDiff, structuredPatch, createTwoFilesPatch, createPatch, formatPatch, applyPatch, applyPatches, parsePatch, reversePatch, convertChangesToDMP, convertChangesToXML, canonicalize };
  19. export type { ChangeObject, Change, DiffArraysOptionsAbortable, DiffArraysOptionsNonabortable, DiffCharsOptionsAbortable, DiffCharsOptionsNonabortable, DiffLinesOptionsAbortable, DiffLinesOptionsNonabortable, DiffWordsOptionsAbortable, DiffWordsOptionsNonabortable, DiffSentencesOptionsAbortable, DiffSentencesOptionsNonabortable, DiffJsonOptionsAbortable, DiffJsonOptionsNonabortable, DiffCssOptionsAbortable, DiffCssOptionsNonabortable, StructuredPatch, StructuredPatchHunk, ApplyPatchOptions, ApplyPatchesOptions, StructuredPatchOptionsAbortable, StructuredPatchOptionsNonabortable, CreatePatchOptionsAbortable, CreatePatchOptionsNonabortable };
  20. //# sourceMappingURL=index.d.ts.map