import { type AnyAction } from "@reduxjs/toolkit"; import { type IDashboardLayout, type IDashboardLayoutItem, type ScreenSize } from "@gooddata/sdk-model"; import { type ILayoutItemPath } from "../../../types.js"; import { type IDashboardCommand } from "../../commands/base.js"; import { type ExtendedDashboardWidget } from "../../types/layoutTypes.js"; /** * Builds actions for row container sanitization when moving items between layouts. * * If a container is being moved, we need to check if it has a row direction, and it is being moved to * a column layout. If yes, we need to change its direction to column. In any case, we need to check all * its children and find all the row containers and change their direction to column. We will also need to * update the width of all the children to match the moved container width. */ export declare function buildRowContainerSanitizationActions(cmd: IDashboardCommand, rootLayout: IDashboardLayout, possibleContainer: IDashboardLayoutItem, fromItemIndex: ILayoutItemPath, toItemIndex: ILayoutItemPath, screen: ScreenSize): AnyAction[]; //# sourceMappingURL=rowContainerSanitization.d.ts.map