import type { Position } from "./types.js"; export interface CreateRowContainerOptions { /** Horizontal spacing between children (default: 0). */ spacingX?: number; /** Padding (default: 0 all sides). */ paddingLeft?: number; paddingRight?: number; paddingTop?: number; paddingBottom?: number; /** Direction (default: "left-to-right"). */ direction?: "left-to-right" | "right-to-left"; /** Position (optional). */ position?: Position; } /** * A horizontal layout container that arranges children in a row. * * After adding children via `addItem()`, call `layout()` to position them. * Items are spaced by `spacingX` with configurable padding. * Children must have a measurable width (use `getBounds().width` or `displayWidth`). */ export declare class DebugRowContainer extends Phaser.GameObjects.Container { private _spacingX; private _paddingLeft; private _paddingRight; private _paddingTop; private _paddingBottom; private _direction; constructor(scene: Phaser.Scene, options?: CreateRowContainerOptions); addItem(child: Phaser.GameObjects.GameObject): this; addItems(children: Phaser.GameObjects.GameObject[]): this; setSpacingX(spacing: number): this; /** Reposition children according to current spacing/padding. */ layout(): this; /** Total width of laid-out children + padding. */ getContentWidth(): number; private getItemSize; } export declare function createRowContainer(scene: Phaser.Scene, options?: CreateRowContainerOptions): DebugRowContainer; //# sourceMappingURL=DebugRowContainer.d.ts.map