import type { MemoryVectorIndexStatus } from '../../contracts/vector_index'; import type { VectorIndexInspection } from './worker_protocol'; /** * inspection 镜像 + 运行时 overlay 的单轨状态存储: * presets 与 manifest 只来自 applyInspection,mark 类只写 overlay, * 两者互不覆盖。持久账本只应写入终态 ready/dirty。 */ export declare class VectorIndexStatusStore { private manifest; private readonly presets; private readonly overlay; reset(): void; snapshot(): MemoryVectorIndexStatus; setCurrentJob(jobId: string | null): void; markStarting(): void; endMaintenance(): void; markBuilding(jobId: string): void; markPresetBuilding(presetId: string, jobId: string, expectedCount: number): void; clearPresetBuilding(presetId: string): void; applyInspection(inspection: VectorIndexInspection): void; markUnavailable(message: string): void; clearUnavailable(): void; markRuntimeError(message: string): void; getPresetIndexedCount(presetId: string): number; assertPresetReady(presetId: string): void; private resolveState; }