import type { SecurityLevel, ToolCapability } from './schema.js'; /** 漂移报告:对比基线与当前矩阵的五维差异。 */ export interface DriftReport { added: string[]; removed: string[]; contractChanges: string[]; securityLevelDowngrades: { name: string; from: SecurityLevel; to: SecurityLevel; }[]; annotationChanges: { name: string; field: 'readOnlyHint' | 'destructiveHint' | 'idempotentHint'; from: boolean; to: boolean; }[]; hasDrift: boolean; } /** * 纯函数:对比两份能力矩阵,产出漂移报告。 * 查 5 维:added / removed / contractChanges / securityLevelDowngrades / annotationChanges。 * 不查 gdScriptImpl(editor 实现路径属元数据,非契约字段,不参与 drift)。 */ export declare function diffMatrices(prev: ToolCapability[], curr: ToolCapability[]): DriftReport;