import type { Element, PositionedElement } from "./elements.js";
/**
 * Entry point: lay out the root element. Both axes are resolved by the
 * element itself against the available terminal dimensions.
 */
export declare function layout(element: Element, availableWidth: number, availableHeight: number): PositionedElement;
