import type { Ref } from "vue"; import type { TLogMinimapDensityBucket } from "../components/TLogMinimap.js"; import type { TLogViewHandle } from "../components/TLogView.js"; import type { TLogDataSource } from "./types.js"; import type { TLogViewExternalLink, TLogViewExternalMarker, TLogViewPlugin } from "./tlog-plugins.js"; export type TLogIndexStatus = "idle" | "indexing" | "done" | "error"; export type TLogDiagnosticMarker = TLogViewExternalMarker; export type TLogIndexedLink = TLogViewExternalLink; export type TLogRetainedIndexOptions = Readonly<{ links?: boolean; levels?: boolean; urls?: boolean; budgetMs?: number; maxItems?: number; bucketCount?: number; allowFileUrls?: boolean; plugins?: readonly TLogViewPlugin[]; }>; export declare function useTLogRetainedIndex(logView: Ref, source: Ref, version: Ref, options?: TLogRetainedIndexOptions): { status: Ref; links: Ref; diagnostics: Ref; density: Ref; refresh: () => void; cancel: () => void; };