import { ParsedPatch, VirtualFileMetrics } from "../types.js";
import { WorkerPoolManager } from "../worker/WorkerPoolManager.js";
import "../worker/index.js";
import { FileDiffOptions } from "./FileDiff.js";

//#region src/components/AdvancedVirtualizer.d.ts
declare class AdvancedVirtualizer<LAnnotations = undefined> {
  private container;
  private fileOptions;
  private metrics;
  private workerManager?;
  static __STOP: boolean;
  static __lastScrollPosition: number;
  type: string;
  private files;
  private totalHeightUnified;
  private totalHeightSplit;
  private rendered;
  private containerOffset;
  private scrollTop;
  private lastRenderedScrollY;
  private height;
  private scrollHeight;
  private initialized;
  private stickyContainer;
  private stickyOffset;
  constructor(container: HTMLElement, fileOptions?: FileDiffOptions<LAnnotations>, metrics?: VirtualFileMetrics, workerManager?: WorkerPoolManager | undefined);
  reset(): void;
  addFiles(parsedPatches: ParsedPatch[]): void;
  render(): void;
  _render: () => void;
  private setupContainer;
  handleScroll: () => void;
  handleResize: () => void;
}
//#endregion
export { AdvancedVirtualizer };
//# sourceMappingURL=AdvancedVirtualizer.d.ts.map