import type { SolidFsChange, SolidFsManifest, SolidFsPrepareInput, SolidFsSyncer } from '../../solidfs'; import type { RdfSearchIndexingService, RdfVectorDeleteResult, RdfVectorIndexingResult } from './RdfSearchIndexingService'; import type { RdfSearchReconciliationRepository } from '../../search/RdfSearchReconciliationRepository'; export interface RdfSearchIndexingSolidFsSyncerOptions { service: RdfSearchIndexingService; /** * Derived vector indexing must not make an already-committed authority write * fail by default. Tests and operations can observe failures through onError. */ failOnError?: boolean; onError?: (error: unknown, input: RdfSearchIndexingSolidFsSyncerErrorInput) => void; onResult?: (result: RdfVectorIndexingResult | RdfVectorDeleteResult) => void; reconciliationRepository?: Pick; now?: () => number; retryDelayMs?: number; } export interface RdfSearchIndexingSolidFsSyncerErrorInput { change: SolidFsChange; workspace: SolidFsManifest; source?: string; } export declare class RdfSearchIndexingSolidFsSyncer implements SolidFsSyncer { private readonly service; private readonly failOnError; private readonly onError?; private readonly onResult?; private readonly reconciliationRepository?; private readonly now; private readonly retryDelayMs; constructor(options: RdfSearchIndexingSolidFsSyncerOptions); shouldTrack(input: SolidFsPrepareInput): boolean; shouldTrackPath(relativePath: string): boolean; sync(change: SolidFsChange, workspace: SolidFsManifest, context?: unknown): Promise; private recordReconciliationResult; }