1 | import * as DiffParser from './diff-parser';
|
2 | import { LineByLineRendererConfig } from './line-by-line-renderer';
|
3 | import { SideBySideRendererConfig } from './side-by-side-renderer';
|
4 | import { DiffFile, OutputFormatType } from './types';
|
5 | import { HoganJsUtilsConfig } from './hoganjs-utils';
|
6 | export interface Diff2HtmlConfig extends DiffParser.DiffParserConfig, LineByLineRendererConfig, SideBySideRendererConfig, HoganJsUtilsConfig {
|
7 | outputFormat?: OutputFormatType;
|
8 | drawFileList?: boolean;
|
9 | }
|
10 | export declare const defaultDiff2HtmlConfig: {
|
11 | outputFormat: OutputFormatType;
|
12 | drawFileList: boolean;
|
13 | renderNothingWhenEmpty: boolean;
|
14 | matchingMaxComparisons: number;
|
15 | maxLineSizeInBlockForComparison: number;
|
16 | matching: import("./types").LineMatchingType;
|
17 | matchWordsThreshold: number;
|
18 | maxLineLengthHighlight: number;
|
19 | diffStyle: import("./types").DiffStyleType;
|
20 | colorScheme: import("./types").ColorSchemeType;
|
21 | };
|
22 | export declare function parse(diffInput: string, configuration?: Diff2HtmlConfig): DiffFile[];
|
23 | export declare function html(diffInput: string | DiffFile[], configuration?: Diff2HtmlConfig): string;
|
24 |
|
\ | No newline at end of file |