/** * Auto-layout pass for ContainerElement. Walks a slide's elements list, * finds the container by id, and rewrites the position (and optionally * size, when align=stretch) of every child id listed in childIds. * * This is the same algorithm the editor uses; running it in the presenter * keeps embedded JSONs visually identical to what the user authored, and * gives us a single source of truth for layout math. */ import type { CanvasElement } from '../types'; export declare function relayoutContainer(elements: CanvasElement[], containerId: string): CanvasElement[]; export declare function relayoutAllContainers(elements: CanvasElement[]): CanvasElement[];