import type { ReadResourceResult } from '@modelcontextprotocol/client'; import type { ResourceSubscriptionEntry, ResourceSyncResult } from '../lib/types.js'; import type { Logger } from '../lib/logger.js'; export interface ResourceSyncManagerOptions { readResource: (uri: string) => Promise; persist: (entries: Record) => Promise; logger: Logger; } export declare class ResourceSyncManager { private options; private entries; private inFlight; private pendingResync; constructor(options: ResourceSyncManagerOptions); load(entries: Record | undefined): void; list(): ResourceSubscriptionEntry[]; has(uri: string): boolean; add(uri: string, filePath: string): Promise; remove(uri: string): Promise; handleUpdated(uri: string): void; resync(uri: string): Promise; recordError(uri: string, message: string): Promise; waitForIdle(): Promise; private startSync; private runSync; private syncToFile; private persist; } //# sourceMappingURL=resource-sync.d.ts.map