/** Opt-in, validated layout persistence. */ import type { ViewMode } from "./types"; export interface PersistedLayout { positions: Record; zoom: number; pan: { x: number; y: number; }; } export declare function layoutStorageKey(storageKey: string, view: ViewMode): string; export declare function saveLayout(storageKey: string, layout: PersistedLayout): void; export declare function loadLayout(storageKey: string): PersistedLayout | undefined; export declare function clearLayout(storageKey: string): void; //# sourceMappingURL=persistence.d.ts.map