import { type IDashboardLayout, type IDashboardLayoutContainerDirection } from "@gooddata/sdk-model";
import { type ExtendedDashboardWidget } from "../../../model/types/layoutTypes.js";
import { type ILayoutItemPath } from "../../../types.js";
import { type IDashboardLayoutItemFacade } from "./facade/interfaces.js";
/**
 * Returns configuration of the provided layout. The function returns the default configuration when
 * the layout does not have it specified.
 *
 * @param layout - layout for which we want to get the configuration.
 */
export declare function getLayoutConfiguration(layout: IDashboardLayout<unknown>): {
    direction: IDashboardLayoutContainerDirection;
    sections: {
        areHeadersEnabled: boolean;
    };
};
/**
 * Determines the direction of a container in a dashboard layout based on the provided layout configuration
 * and item path. The direction specifies whether child items within the container are laid out in a row
 * or column.
 *
 * @param layout - The dashboard layout containing the structure and configuration of widgets and containers.
 * @param itemPath - The path to a specific layout item within the dashboard layout structure.
 *  If undefined, the function assumes a default "row" direction.
 *
 * @returns The direction of the container ("row" or "column").
 */
export declare const getContainerDirectionAtPath: (layout: IDashboardLayout<ExtendedDashboardWidget>, itemPath: ILayoutItemPath | undefined) => IDashboardLayoutContainerDirection;
/**
 * Determines the direction of a container in a dashboard layout based on the provided layout.
 * The direction specifies whether child items within the container are laid out in a row or column.
 *
 * @param layout - The dashboard layout containing the structure and configuration of widgets and containers.
 *
 * @returns The direction of the container ("row" or "column").
 */
export declare const getContainerDirection: (layout: IDashboardLayoutItemFacade<ExtendedDashboardWidget> | undefined) => IDashboardLayoutContainerDirection;
//# sourceMappingURL=layoutConfiguration.d.ts.map