import { TManagerState } from './inspector-types'; export type TScalarDiff = { field: string; from: unknown; to: unknown; }; export type TMapDiffEntry = { key: string; change: "added" | "removed" | "changed"; from?: V; to?: V; }; export type TMapDiff = { entries: TMapDiffEntry[]; }; export type TSetDiffEntry = { key: string; change: "added" | "removed"; }; export type TSetDiff = { entries: TSetDiffEntry[]; }; export type TSnapshotDiff = { scalars: TScalarDiff[]; subscriptionRefCounts: TMapDiff; subscriptionData: TMapDiff; inFlightMessages: TMapDiff; pendingSubscriptions: TSetDiff; protocols: { from: readonly string[]; to: readonly string[]; } | null; }; export declare function computeSnapshotDiff(prev: TManagerState, next: TManagerState): TSnapshotDiff; //# sourceMappingURL=snapshot-diff.d.ts.map