import { TargetWidth } from '../common/target-width.mjs';

/**
 * A layout that stacks elements on top of each other. Layout.Stack is the default layout used by AdaptiveCard and all containers.
 */
interface IStackLayout {
    type: 'Layout.Stack';
    /**
     * Controls for which card width the layout should be used.
     */
    targetWidth?: TargetWidth;
}
type StackLayoutOptions = Omit<IStackLayout, 'type'>;
/**
 * A layout that stacks elements on top of each other. Layout.Stack is the default layout used by AdaptiveCard and all containers.
 */
declare class StackLayout implements IStackLayout {
    type: 'Layout.Stack';
    /**
     * Controls for which card width the layout should be used.
     */
    targetWidth?: TargetWidth;
    constructor(options?: StackLayoutOptions);
    static from(options: StackLayoutOptions): StackLayout;
    withTargetWidth(value: TargetWidth): this;
}

export { type IStackLayout, StackLayout, type StackLayoutOptions };
