{"version":3,"file":"VirtualizedFileDiff.d.ts","names":["ExpansionDirections","FileDiffMetadata","NumericScrollLineAnchor","PendingCodeViewLayoutReset","RenderWindow","SelectionSide","StickySpecs","ThemeTypes","VirtualFileMetrics","WorkerPoolManager","CodeView","FileDiff","FileDiffOptions","FileDiffRenderProps","Virtualizer","VirtualizedFileDiff","LAnnotation","Partial","fileContainer","oldFile","newFile","fileDiff","forceRender"],"sources":["../../src/components/VirtualizedFileDiff.d.ts"],"sourcesContent":["import type { ExpansionDirections, FileDiffMetadata, NumericScrollLineAnchor, PendingCodeViewLayoutReset, RenderWindow, SelectionSide, StickySpecs, ThemeTypes, VirtualFileMetrics } from '../types';\nimport type { WorkerPoolManager } from '../worker';\nimport type { CodeView } from './CodeView';\nimport { FileDiff, type FileDiffOptions, type FileDiffRenderProps } from './FileDiff';\nimport type { Virtualizer } from './Virtualizer';\nexport declare class VirtualizedFileDiff<LAnnotation = undefined> extends FileDiff<LAnnotation> {\n    readonly __id: string;\n    top: number | undefined;\n    height: number;\n    private metrics;\n    private cache;\n    private isVisible;\n    private isSetup;\n    private virtualizer;\n    private layoutDirty;\n    private forceRenderOverride;\n    private currentCollapsed;\n    constructor(options: FileDiffOptions<LAnnotation> | undefined, virtualizer: Virtualizer | CodeView<LAnnotation>, metrics?: Partial<VirtualFileMetrics>, workerManager?: WorkerPoolManager, isContainerManaged?: boolean);\n    setMetrics(metrics?: Partial<VirtualFileMetrics>, force?: boolean): void;\n    private getLineHeight;\n    private getEstimatedLineHeight;\n    setOptions(options: FileDiffOptions<LAnnotation> | undefined): void;\n    setThemeType(themeType: ThemeTypes): void;\n    private resetLayoutCache;\n    reconcileHeights(): boolean;\n    onRender: (dirty: boolean) => boolean;\n    prepareCodeViewItem(fileDiff: FileDiffMetadata, top: number, reset?: PendingCodeViewLayoutReset): number;\n    getLinePosition(lineNumber: number, side?: SelectionSide): {\n        top: number;\n        height: number;\n    } | undefined;\n    getNumericScrollAnchor(localViewportTop: number): NumericScrollLineAnchor | undefined;\n    getVirtualizedHeight(): number;\n    getAdvancedStickySpecs(windowSpecs?: RenderWindow): StickySpecs | undefined;\n    cleanUp(recycle?: boolean): void;\n    expandHunk: (hunkIndex: number, direction: ExpansionDirections, expansionLineCountOverride?: number | undefined) => void;\n    setVisibility(visible: boolean): void;\n    rerender(): void;\n    private computeApproximateSize;\n    private getActiveEstimatedHeight;\n    private ensureEstimatedDiffHeights;\n    private validateComputedHeight;\n    render({ fileContainer, oldFile, newFile, fileDiff, forceRender, ...props }?: FileDiffRenderProps<LAnnotation>): boolean;\n    syncVirtualizedTop(): void;\n    protected shouldDisableVirtualizationBuffers(): boolean;\n    private isSimpleMode;\n    private isAdvancedMode;\n    private getVirtualizedTop;\n    private getSimpleVirtualizer;\n    private isResizeDebuggingEnabled;\n    private getDiffStyle;\n    private getHunkSeparatorType;\n    private approximateLayoutCheckpoints;\n    private getLayoutCheckpointBeforeLineIndex;\n    private getLayoutCheckpointBeforeTop;\n    private getExpandedLineCount;\n    private computeRenderRangeFromWindow;\n}\n//# sourceMappingURL=VirtualizedFileDiff.d.ts.map"],"mappings":";;;;;;;;cAKqBe,qDAAqDJ,SAASK;;;EAA9DD,MAAAA,EAAAA,MAAAA;EAA8DC,QAAAA,OAAAA;EAY1CA,QAAAA,KAAAA;EAAhBJ,QAAAA,SAAAA;EAAuDE,QAAAA,OAAAA;EAAuBE,QAAAA,WAAAA;EAATN,QAAAA,WAAAA;EAAyCF,QAAAA,mBAAAA;EAARS,QAAAA,gBAAAA;EAA6CR,WAAAA,CAAAA,OAAAA,EAAnJG,eAAmJH,CAAnIO,WAAmIP,CAAAA,GAAAA,SAAAA,EAAAA,WAAAA,EAA5FK,WAA4FL,GAA9EC,QAA8ED,CAArEO,WAAqEP,CAAAA,EAAAA,OAAAA,CAAAA,EAA7CQ,OAA6CR,CAArCD,kBAAqCC,CAAAA,EAAAA,aAAAA,CAAAA,EAAAA,iBAAAA,EAAAA,kBAAAA,CAAAA,EAAAA,OAAAA;EAC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