import { FetchService } from '../fetch/fetch.service'; import { NormalizeService } from '../normalize/normalize.service'; import { ResolverService } from '../resolvers/resolver.service'; import { CachedResolvedSource, CompareDocsSourcesResult, DocManifest, DocsReadResult, DocsSourceResolutionResult, DocsSourceVerificationResult, EnsureDocsInput, EnsureDocsResult, PackageTriageResult, RefreshCachedSourceResult } from '../shared/types'; import { StorageService } from '../storage/storage.service'; import { TaskDocsService } from './task-docs.service'; export declare class SyncService { private readonly resolverService; private readonly fetchService; private readonly normalizeService; private readonly storageService; private readonly taskDocsService; constructor(resolverService: ResolverService, fetchService: FetchService, normalizeService: NormalizeService, storageService: StorageService, taskDocsService: TaskDocsService); resolveTaskDocs(taskText: string, rootDir?: string, filePaths?: string[]): Promise; briefTaskDocs(taskText: string, rootDir?: string, filePaths?: string[]): Promise; lookupDocs(taskText: string, rootDir?: string, filePaths?: string[], packageHint?: string): Promise; classifyPackage(name: string, rootDir?: string): Promise; resolveDocsSource(name: string, rootDir?: string, version?: string, sourceUrl?: string): Promise; searchDocs(name: string, query?: string, rootDir?: string): Promise; verifyDocsSource(url: string): Promise; readDocsPage(nameOrUrl: string, topic?: string, rootDir?: string): Promise; cacheDocsSource(name: string, rootDir?: string, url?: string): Promise; compareDocsSources(name: string, rootDir?: string): Promise; refreshCachedSource(name: string, rootDir?: string): Promise; ensureDocs(input: EnsureDocsInput): Promise; checkDocsFreshness(input: Omit): Promise<{ state: 'fresh' | 'stale' | 'missing'; manifest?: DocManifest; localPath: string; }>; syncDocs(input: EnsureDocsInput): Promise; syncCachedSource(name: string, rootDir?: string): Promise; listSyncedDocs(rootDir?: string): Promise; readDocManifest(canonicalName: string, rootDir?: string, version?: string): Promise; private checkManifestFreshness; }