{"version":3,"file":"parseDiffDecorations.d.ts","names":["ChangeObject","DecorationItem","CreateDiffSpanDecorationProps","createDiffSpanDecoration","line","spanStart","spanLength","PushOrJoinSpanProps","pushOrJoinSpan","item","arr","enableJoin","isNeutral","isLastItem"],"sources":["../../src/utils/parseDiffDecorations.d.ts"],"sourcesContent":["import { type ChangeObject } from 'diff';\nimport type { DecorationItem } from '../types';\ninterface CreateDiffSpanDecorationProps {\n    line: number;\n    spanStart: number;\n    spanLength: number;\n}\nexport declare function createDiffSpanDecoration({ line, spanStart, spanLength }: CreateDiffSpanDecorationProps): DecorationItem;\ninterface PushOrJoinSpanProps {\n    item: ChangeObject<string>;\n    arr: [0 | 1, string][];\n    enableJoin: boolean;\n    isNeutral?: boolean;\n    isLastItem?: boolean;\n}\nexport declare function pushOrJoinSpan({ item, arr, enableJoin, isNeutral, isLastItem }: PushOrJoinSpanProps): void;\nexport {};\n//# sourceMappingURL=parseDiffDecorations.d.ts.map"],"mappings":";;;;UAEUE,6BAAAA;;EAAAA,SAAAA,EAAAA,MAAAA;EAKcC,UAAAA,EAAAA,MAAAA;;AAAiCE,iBAAjCF,wBAAAA,CAAiCE;EAAAA,IAAAA;EAAAA,SAAAA;EAAAA;AAAAA,CAAAA,EAAyBH,6BAAzBG,CAAAA,EAAyDJ,cAAzDI;UAC/CE,mBAAAA,CAD0DD;EAAcJ,IAAAA,EAExEF,YAFwEE,CAAAA,MAAAA,CAAAA;EAAgCD,GAAAA,EAAAA,CAAAA,CAAAA,GAAAA,CAAAA,EAAAA,MAAAA,CAAAA,EAAAA;EAAc,UAAA,EAAA,OAAA;EACtHM,SAAAA,CAAAA,EAAAA,OAAAA;EAOcC,UAAAA,CAAAA,EAAAA,OAAc;;AAASE,iBAAvBF,cAAAA,CAAuBE;EAAAA,IAAAA;EAAAA,GAAAA;EAAAA,UAAAA;EAAAA,SAAAA;EAAAA;AAAAA,CAAAA,EAA0CH,mBAA1CG,CAAAA,EAAAA,IAAAA"}