/** * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */import{Diff}from'./cleanupSemantic';importtype{DiffOptions,DiffOptionsNormalized}from'./types';exportdeclareconstprintDeleteLine:(line:string,isFirstOrLast:boolean,{aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder,}:DiffOptionsNormalized)=>string;exportdeclareconstprintInsertLine:(line:string,isFirstOrLast:boolean,{bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder,}:DiffOptionsNormalized)=>string;exportdeclareconstprintCommonLine:(line:string,isFirstOrLast:boolean,{commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder,}:DiffOptionsNormalized)=>string;exportdeclareconsthasCommonDiff:(diffs:Diff[],isMultiline:boolean)=>boolean;exportdeclaretypeChangeCounts={a:number;b:number;};exportdeclareconstcountChanges:(diffs:Diff[])=>ChangeCounts;exportdeclareconstprintAnnotation:({aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator,includeChangeCounts,omitAnnotationLines,}:DiffOptionsNormalized,changeCounts:ChangeCounts)=>string;exportdeclareconstprintDiffLines:(diffs:Diff[],options:DiffOptionsNormalized)=>string;exportdeclareconstcreatePatchMark:(aStart:number,aEnd:number,bStart:number,bEnd:number,{patchColor}:DiffOptionsNormalized)=>string;exportdeclareconstdiffStringsUnified:(a:string,b:string,options?:DiffOptions|undefined)=>string;exportdeclareconstdiffStringsRaw:(a:string,b:string,cleanup:boolean)=>Diff[];