/** * IMPORTANT: * This utils are taken from the project: https://github.com/STRML/react-grid-layout. * The code should be as less modified as possible for easy maintenance. */ import { CompactType, Layout, LayoutItem } from './react-grid-layout.utils'; /** * Move a set of elements "items". Responsible for doing cascading movements of other elements. * * @export * @param {Layout} layout * @param {({ * l: LayoutItem, * x: number | null | undefined, * y: number | null | undefined * }[])} items * @param {(boolean | null | undefined)} isUserAction * @param {(boolean | null | undefined)} preventCollision * @param {CompactType} compactType * @param {number} cols * @returns {Layout} */ export declare function KtdMoveMultipleElements(layout: Layout, items: { l: LayoutItem; x: number | null | undefined; y: number | null | undefined; }[], isUserAction: boolean | null | undefined, compactType: CompactType, cols: number): Layout; /** * Move the element "itemToMove" away from the collision with "collidesWith" * @export * @param {Layout} layout * @param {LayoutItem} collidesWith * @param {LayoutItem} itemToMove * @param {(boolean | null | undefined)} isUserAction * @param {CompactType} compactType * @param {number} cols * @returns {Layout} */ export declare function KtdMoveElementsAwayFromCollision(layout: Layout, collidesWith: LayoutItem, itemToMove: LayoutItem, isUserAction: boolean | null | undefined, compactType: CompactType, cols: number): Layout;