import type { Container } from "./Container"; import type { Sprite } from "./Sprite"; import { Entity, IEntitySettings, IEntityPrivate } from "../util/Entity"; export interface ILayoutSettings extends IEntitySettings { } export interface ILayoutPrivate extends IEntityPrivate { } export declare function eachChildren(container: Container, f: (sprite: Sprite) => void): void; /** * A child placed left to right: its `x` and the left and right of its bounds. * * @ignore */ export interface IPlaced { child: Sprite; x: number; left: number; right: number; } /** * Sets the `x` of children placed left to right, mirrored for * `direction: "rtl"`: across the container's inner width if it has a width of * its own, else across the content, which ends at `contentRight`. Margins are * mirrored too, so a child's `marginLeft` ends up on its right. * * @ignore */ export declare function placeX(container: Container, placed: Array, contentRight: number): void; /** * Base class for [[Container]] layouts. */ export declare abstract class Layout extends Entity { _settings: ILayoutSettings; _privateSettings: ILayoutPrivate; static className: string; static classNames: Array; /** * @ignore */ abstract updateContainer(_container: Container): void; } //# sourceMappingURL=Layout.d.ts.map