import type { DiagramDTO, DiagramLayout } from '@memoarchitect/tools'; export declare const VIEW_LAYOUT_EXTENSION = ".viewlayout"; /** Companion location beside the SysML file that defines the view. */ export declare function viewLayoutPath(projectRoot: string, diagram: DiagramDTO): string; export declare function loadViewLayout(projectRoot: string, diagram: DiagramDTO): DiagramLayout | null; /** * Whether a layout says anything the model does not already say: a moved node, * a routed connector, or a canvas setting the user changed. A companion exists * to record overrides, so a layout that holds none is not worth a file — the * view renders identically without it. */ export declare function isDefaultViewLayout(layout: DiagramLayout): boolean; /** * Persist a diagram's overrides beside its SysML source. Returns the companion * path, or null when there was nothing to persist — a layout that carries no * override drops its entry instead, and the companion is removed once it holds * no entries at all, so a purely visual toggle never dirties the project. */ export declare function saveViewLayout(projectRoot: string, diagram: DiagramDTO, layout: DiagramLayout): string | null; export declare function loadViewLayouts(projectRoot: string, diagrams: DiagramDTO[]): Record; //# sourceMappingURL=view-layout-store.d.ts.map