import { DiffLineAnnotation, FileDiffMetadata, SelectedLineRange, VirtualFileMetrics } from "../../types.js"; import { GetHoveredLineResult } from "../../managers/InteractionManager.js"; import { FileDiffOptions } from "../../components/FileDiff.js"; //#region src/react/utils/useFileDiffInstance.d.ts interface UseFileDiffInstanceProps { fileDiff: FileDiffMetadata; options: FileDiffOptions | undefined; lineAnnotations: DiffLineAnnotation[] | undefined; selectedLines: SelectedLineRange | null | undefined; prerenderedHTML: string | undefined; metrics?: VirtualFileMetrics; hasGutterRenderUtility: boolean; hasCustomHeader: boolean; disableWorkerPool: boolean; } interface UseFileDiffInstanceReturn { ref(node: HTMLElement | null): void; getHoveredLine(): GetHoveredLineResult<'diff'> | undefined; } declare function useFileDiffInstance({ fileDiff, options, lineAnnotations, selectedLines, prerenderedHTML, metrics, hasGutterRenderUtility, hasCustomHeader, disableWorkerPool }: UseFileDiffInstanceProps): UseFileDiffInstanceReturn; //#endregion export { useFileDiffInstance }; //# sourceMappingURL=useFileDiffInstance.d.ts.map