1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | import { Diff } from './cleanupSemantic';
|
8 | import type { DiffOptions, DiffOptionsNormalized } from './types';
|
9 | export declare const printDeleteLine: (line: string, isFirstOrLast: boolean, { aColor, aIndicator, changeLineTrailingSpaceColor, emptyFirstOrLastLinePlaceholder, }: DiffOptionsNormalized) => string;
|
10 | export declare const printInsertLine: (line: string, isFirstOrLast: boolean, { bColor, bIndicator, changeLineTrailingSpaceColor, emptyFirstOrLastLinePlaceholder, }: DiffOptionsNormalized) => string;
|
11 | export declare const printCommonLine: (line: string, isFirstOrLast: boolean, { commonColor, commonIndicator, commonLineTrailingSpaceColor, emptyFirstOrLastLinePlaceholder, }: DiffOptionsNormalized) => string;
|
12 | export declare const hasCommonDiff: (diffs: Array<Diff>, isMultiline: boolean) => boolean;
|
13 | export declare type ChangeCounts = {
|
14 | a: number;
|
15 | b: number;
|
16 | };
|
17 | export declare const countChanges: (diffs: Array<Diff>) => ChangeCounts;
|
18 | export declare const printAnnotation: ({ aAnnotation, aColor, aIndicator, bAnnotation, bColor, bIndicator, includeChangeCounts, omitAnnotationLines, }: DiffOptionsNormalized, changeCounts: ChangeCounts) => string;
|
19 | export declare const printDiffLines: (diffs: Array<Diff>, options: DiffOptionsNormalized) => string;
|
20 | export declare const createPatchMark: (aStart: number, aEnd: number, bStart: number, bEnd: number, { patchColor }: DiffOptionsNormalized) => string;
|
21 | export declare const diffStringsUnified: (a: string, b: string, options?: DiffOptions | undefined) => string;
|
22 | export declare const diffStringsRaw: (a: string, b: string, cleanup: boolean) => Array<Diff>;
|