import { FileService } from './file-service.cjs'; import { IssueService } from './issue-service.cjs'; import { I as IntentService, P as PathnameService, a as ResolvedConfig } from '../LLMail-CELnm7VA.cjs'; import '../errors/errors.cjs'; import '../validation/file-format-validator.cjs'; import '../validation/metadata-format-validator.cjs'; import '../validation/file-system-validator.cjs'; import '../utils/logger.cjs'; import 'winston'; interface SyncChange { id: string; from: string; to: string; reason: string; } interface SyncError { id: string; error: string; } interface SyncResult { changes: SyncChange[]; errors?: SyncError[]; } /** * Service for synchronizing file locations with their metadata. * This service is responsible for: * - Finding mismatched file locations * - Generating sync plans * - Executing file moves safely */ declare class SyncService { private fileService; private issueService; private intentService; private pathnameService; private config; constructor(fileService: FileService, issueService: IssueService, intentService: IntentService, pathnameService: PathnameService, config: ResolvedConfig); /** * Analyze the current state and generate a sync plan without making changes. */ analyzeSyncNeeded(): Promise; /** * Execute the sync plan, moving files to their correct locations. */ executeSync(dryRun?: boolean): Promise; } export { type SyncChange, type SyncError, type SyncResult, SyncService };