/********************************************************************************
 * Copyright (c) 2021-2025 EclipseSource and others.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 *
 * This Source Code may also be made available under the following Secondary
 * Licenses when the conditions for such availability set forth in the Eclipse
 * Public License v. 2.0 are satisfied: GNU General Public License, version 2
 * with the GNU Classpath Exception which is available at
 * https://www.gnu.org/software/classpath/license.html.
 *
 * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
 ********************************************************************************/
import { Bounds, BoundsData, Dimension, GChildElement, GModelElement, GParentElement, LayoutContainer, Point, StatefulLayouter, VBoxLayoutOptions, VBoxLayouter } from '@eclipse-glsp/sprotty';
export interface VBoxLayoutOptionsExt extends VBoxLayoutOptions {
    hGrab: boolean;
    vGrab: boolean;
    prefWidth: number | null;
    prefHeight: number | null;
}
/**
 * Extends VBoxLayouter to support additional layout options
 */
export declare class VBoxLayouterExt extends VBoxLayouter {
    static KIND: string;
    layout(container: GParentElement & LayoutContainer, layouter: StatefulLayouter): void;
    protected getChildrenSize(container: GParentElement & LayoutContainer, containerOptions: VBoxLayoutOptionsExt, layouter: StatefulLayouter): Dimension;
    protected layoutChildren(container: GParentElement & LayoutContainer, layouter: StatefulLayouter, containerOptions: VBoxLayoutOptionsExt, maxWidth: number, maxHeight: number, grabHeight?: number, grabbingChildren?: number): Point;
    protected layoutChild(child: GChildElement, boundsData: BoundsData, bounds: Bounds, childOptions: VBoxLayoutOptionsExt, containerOptions: VBoxLayoutOptionsExt, currentOffset: Point, maxWidth: number, maxHeight: number, grabHeight?: number, grabbingChildren?: number): Point;
    protected getFixedContainerBounds(container: GModelElement, layoutOptions: VBoxLayoutOptionsExt, layouter: StatefulLayouter): Bounds;
    protected getChildLayoutOptions(child: GChildElement, containerOptions: VBoxLayoutOptionsExt): VBoxLayoutOptionsExt;
    protected getLayoutOptions(element: GModelElement): VBoxLayoutOptionsExt;
    protected getElementLayoutOptions(element: GModelElement): VBoxLayoutOptionsExt | undefined;
    protected getComputedContainerDimensions(options: VBoxLayoutOptionsExt, maxWidth: number, maxHeight: number): Dimension;
    protected getFinalContainerBounds(container: GParentElement & LayoutContainer, lastOffset: Point, options: VBoxLayoutOptionsExt, computedWidth: number, computedHeight: number): Bounds;
    protected getDefaultLayoutOptions(): VBoxLayoutOptionsExt;
    protected filterContainerOptions(containerOptions: VBoxLayoutOptionsExt): VBoxLayoutOptionsExt;
}
//# sourceMappingURL=vbox-layout.d.ts.map