import { Layout } from './layout.js'; import { Transform2D } from './transform.js'; /** * Apply a 2D transform to a layout. * @param origin the origin of the transform; * uses the midpoint of the by default * @returns a transformed new layout */ export declare function transformLayout(layout: Layout, transform: Transform2D, origin?: import("./coordinate.js").Coordinate): Layout; /** * Compute the 2D transform required to transform the one layout to another layout. * Scale is set to 1 if the width or height of the source layout is 0. * @param other the destination layout */ export declare function computeTransformBetween(source: Layout, target: Layout): Transform2D; //# sourceMappingURL=layout-transform.d.ts.map