UNPKG

@dependable/session

Version:

Save and restore @dependable/state to the session storage

7 lines 575 B
export function saveSession(): void; export function restoreSession(): void; export function createSnapshot(nextId?: number): import('./shared').SessionSnapshot; export function restoreSnapshot(snapshot: import('./shared').SessionSnapshot): void; export function diffSnapshots(current: import('./shared').SessionSnapshot, updated: import('./shared').SessionSnapshot): any; export function applySnapshotDiff(snapshot: import('./shared').SessionSnapshot, patch: import('./shared').SessionSnapshotPatch): import('./shared').SessionSnapshot; //# sourceMappingURL=session.d.ts.map