import type { ComponentBlock } from '../types'; import type { Layout, LayoutItem } from 'publ-echo/dist/lib'; export interface LayoutItemWithGroupType extends LayoutItem { childrenIds: string[]; keepInLastIndex?: boolean; } export declare function getGroupData(elem1: LayoutItemWithGroupType, elem2: LayoutItemWithGroupType): LayoutItemWithGroupType; export declare function recalculatedGroup(group: LayoutItemWithGroupType): LayoutItemWithGroupType; export declare function getGroupForMultiple(elems: LayoutItem[]): LayoutItemWithGroupType; export declare function splitComponentBlocksByGroup(componentBlocks: ComponentBlock[], groupIds: string[]): { inGroup: ComponentBlock[]; notInGroup: ComponentBlock[]; }; export declare function getGroupCB(layout: Layout): LayoutItemWithGroupType | null; export declare const filterItemsById: (layout: Layout, idsToRemove: Array) => LayoutItem[];