/** * EntryDetailService — FR-W03 知识条目详情数据层 * * AC1: 完整内容、来源引用、版本历史时间线、关联关系 * AC2: 关联关系可点击跳转 * AC3: 版本差异对比 */ import type { StorageAdapter } from '../storage/storage-types.js'; import type { EntryDetail, VersionDiff, AssociationLink } from './workbench-types.js'; export interface AssociationProvider { getAssociations(entryId: string): Promise; } export interface EntryDetailServiceDeps { storage: StorageAdapter; associations?: AssociationProvider; } export declare class EntryDetailService { private storage; private associations?; constructor(deps: EntryDetailServiceDeps); /** AC1: 获取条目详情(含版本历史 + 关联关系) */ getDetail(entryId: string): Promise; /** AC3: 版本差异对比 */ diffVersions(entryId: string, fromVersion: number, toVersion: number): Promise; } //# sourceMappingURL=entry-detail-service.d.ts.map