interface DiffOptions { /** First snapshot path (the "before" state). */ snapshotA: string; /** Second snapshot path (the "after" state). */ snapshotB: string; /** Output format: 'text' (default) or 'json'. */ format?: 'text' | 'json'; } /** * Minimal subset of KernelState used by this command. * The actual KernelState (from @lapidist/dsr) is a structural superset. */ interface SnapshotState { tokenGraph: { tokens: ReadonlyMap; }; ruleRegistry: { rules: ReadonlyMap; }; componentRegistry: { components: ReadonlyMap; }; entropyState: { current: { overall: number; }; }; } export type ReadSnapshotFn = (filePath: string) => Promise<{ state: SnapshotState; hash: string; }>; /** * Compare two DSR binary snapshots and print the diff to stdout. * * @param options - Diff command options. * @param readSnapshot - Optional override for reading snapshots (used in tests). */ export declare function diffSnapshots(options: DiffOptions, readSnapshot?: ReadSnapshotFn): Promise; export {}; //# sourceMappingURL=diff.d.ts.map