{"version":3,"file":"VirtualizedFile.d.ts","names":["FileContents","NumericScrollLineAnchor","PendingCodeViewLayoutReset","RenderWindow","StickySpecs","ThemeTypes","VirtualFileMetrics","WorkerPoolManager","CodeView","File","FileOptions","FileRenderProps","Virtualizer","VirtualizedFile","LAnnotation","fileContainer","file","forceRender"],"sources":["../../src/components/VirtualizedFile.d.ts"],"sourcesContent":["import type { FileContents, NumericScrollLineAnchor, PendingCodeViewLayoutReset, RenderWindow, StickySpecs, ThemeTypes, VirtualFileMetrics } from '../types';\nimport type { WorkerPoolManager } from '../worker';\nimport type { CodeView } from './CodeView';\nimport { File, type FileOptions, type FileRenderProps } from './File';\nimport type { Virtualizer } from './Virtualizer';\nexport declare class VirtualizedFile<LAnnotation = undefined> extends File<LAnnotation> {\n    private virtualizer;\n    private metrics;\n    readonly __id: string;\n    top: number | undefined;\n    height: number;\n    private cache;\n    private isVisible;\n    private isSetup;\n    private layoutDirty;\n    private forceRenderOverride;\n    private currentCollapsed;\n    constructor(options: FileOptions<LAnnotation> | undefined, virtualizer: Virtualizer | CodeView<LAnnotation>, metrics?: VirtualFileMetrics, workerManager?: WorkerPoolManager, isContainerManaged?: boolean);\n    setMetrics(metrics: VirtualFileMetrics, force?: boolean): void;\n    getLineHeight(lineIndex: number, hasMetadataLine?: boolean): number;\n    setOptions(options: FileOptions<LAnnotation> | undefined): void;\n    setThemeType(themeType: ThemeTypes): void;\n    private resetLayoutCache;\n    reconcileHeights(): boolean;\n    onRender: (dirty: boolean) => boolean;\n    prepareCodeViewItem(file: FileContents, top: number, reset?: PendingCodeViewLayoutReset): number;\n    getLinePosition(lineNumber: number): {\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    private computeApproximateSize;\n    setVisibility(visible: boolean): void;\n    rerender(): void;\n    render({ fileContainer, file, forceRender, ...props }: FileRenderProps<LAnnotation>): boolean;\n    syncVirtualizedTop(): void;\n    protected shouldDisableVirtualizationBuffers(): boolean;\n    private isSimpleMode;\n    private isAdvancedMode;\n    private addLayoutCheckpoint;\n    private getLayoutCheckpointBeforeLineIndex;\n    private getLayoutCheckpointBeforeTop;\n    private getVirtualizedTop;\n    private getSimpleVirtualizer;\n    private isResizeDebuggingEnabled;\n    private computeRenderRangeFromWindow;\n}\n//# sourceMappingURL=VirtualizedFile.d.ts.map"],"mappings":";;;;;;;;cAKqBa,iDAAiDJ,KAAKK;;;EAAtDD,SAAAA,IAAAA,EAAAA,MAAe;EAAuCC,GAAAA,EAAAA,MAAAA,GAAAA,SAAAA;EAYtCA,MAAAA,EAAAA,MAAAA;EAAZJ,QAAAA,KAAAA;EAAmDE,QAAAA,SAAAA;EAAuBE,QAAAA,OAAAA;EAATN,QAAAA,WAAAA;EAAiCF,QAAAA,mBAAAA;EAAoCC,QAAAA,gBAAAA;EACvID,WAAAA,CAAAA,OAAAA,EADCI,WACDJ,CADaQ,WACbR,CAAAA,GAAAA,SAAAA,EAAAA,WAAAA,EADoDM,WACpDN,GADkEE,QAClEF,CAD2EQ,WAC3ER,CAAAA,EAAAA,OAAAA,CAAAA,EADmGA,kBACnGA,EAAAA,aAAAA,CAAAA,EADuIC,iBACvID,EAAAA,kBAAAA,CAAAA,EAAAA,OAAAA;EAEYQ,UAAAA,CAAAA,OAAAA,EAFZR,kBAEYQ,EAAAA,KAAAA,CAAAA,EAAAA,OAAAA,CAAAA,EAAAA,IAAAA;EAAZJ,aAAAA,CAAAA,SAAAA,EAAAA,MAAAA,EAAAA,eAAAA,CAAAA,EAAAA,OAAAA,CAAAA,EAAAA,MAAAA;EACIL,UAAAA,CAAAA,OAAAA,EADJK,WACIL,CADQS,WACRT,CAAAA,GAAAA,SAAAA,CAAAA,EAAAA,IAAAA;EAIEL,YAAAA,CAAAA,SAAAA,EAJFK,UAIEL,CAAAA,EAAA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