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