import { FileContents, LineAnnotation, SelectedLineRange, VirtualFileMetrics } from "../../types.js"; import { GetHoveredLineResult } from "../../managers/InteractionManager.js"; import { FileOptions } from "../../components/File.js"; import { Ref } from "vue"; //#region src/vue/composables/useFileInstance.d.ts interface UseFileInstanceParams { props: { file: FileContents; options?: FileOptions; metrics?: VirtualFileMetrics; lineAnnotations?: LineAnnotation[]; selectedLines?: SelectedLineRange | null; prerenderedHTML?: string; disableWorkerPool: boolean; }; hasCustomHeader(): boolean; hasGutterRenderer(): boolean; } interface UseFileInstanceReturn { containerRef: Ref; getHoveredLine(): GetHoveredLineResult<'file'> | undefined; } declare function useFileInstance({ props, hasCustomHeader, hasGutterRenderer }: UseFileInstanceParams): UseFileInstanceReturn; //#endregion export { UseFileInstanceParams, UseFileInstanceReturn, useFileInstance }; //# sourceMappingURL=useFileInstance.d.ts.map