import { TableLayout, PivotLayout, Layout } from '../../types';
import { LayoutModel, TableLayoutModel, PivotLayoutModel } from '../../layout-manager/src/LayoutManagerModel';
export declare const layoutStateToLayoutModel: (layout: TableLayout | PivotLayout) => LayoutModel;
export declare const layoutModelToLayoutState: (layoutModel: LayoutModel) => TableLayout | PivotLayout;
/**
 * Compares 2 Layouts for equality
 * @param layout1 First Layout
 * @param layout2 Second Layout
 */
export declare const areLayoutsEqual: (layout1: Layout, layout2: Layout) => boolean;
export declare const normalizeLayout: (layout: TableLayout | PivotLayout, options?: {
    isTree: boolean;
}) => TableLayout | PivotLayout;
export declare const normalizeTableLayout: (tableLayout: TableLayout, options?: {
    isTree: boolean;
}) => TableLayout;
export declare const normalizePivotLayout: (pivotLayout: PivotLayout) => PivotLayout;
export declare const checkForDuplicateColumns: (layout: TableLayout) => void;
export declare const tableLayoutToTableLayoutModel: (tableLayout: TableLayout) => TableLayoutModel;
export declare const pivotLayoutToPivotLayoutModel: (pivotLayout: PivotLayout) => PivotLayoutModel;
export declare const tableLayoutModelToTableLayout: (layoutModel: TableLayoutModel) => TableLayout;
export declare const pivotLayoutModelToPivotLayout: (layoutModel: PivotLayoutModel) => PivotLayout;
export declare const isPivotLayout: (layout: Partial<Layout>) => layout is PivotLayout;
