import { ApiBase } from './ApiBase';
import { LayoutApi } from '../LayoutApi';
import { Layout, LayoutState, PivotLayout, TableLayout } from '../../AdaptableState/LayoutState';
import { AdaptableColumn } from '../../AdaptableState/Common/AdaptableColumn';
import { ColumnSort } from '../../AdaptableState/Common/ColumnSort';
import { ModuleParams } from '../../View/Components/SharedProps/ModuleViewPopupProps';
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
import { LayoutInternalApi } from '../Internal/LayoutInternalApi';
import { ExtendedLayout } from '../../AdaptableState/Common/ExtendedLayout';
export declare class LayoutApiImpl extends ApiBase implements LayoutApi {
    internalApi: LayoutInternalApi;
    constructor(_adaptable: IAdaptable);
    updateCurrentLayout(updateFn: (layout: TableLayout | PivotLayout) => TableLayout | PivotLayout): void;
    isCurrentLayoutPivot(): boolean;
    getLayoutState(): LayoutState;
    getCurrentVisibleColumnIdsMapForTableLayout(): {
        [key: string]: boolean;
    };
    getCurrentVisibleColumnIdsForTableLayout(): string[];
    getCurrentVisibleColumnIdsForPivotLayout(): string[];
    getCurrentRowGroupsColumnIds(): string[];
    setLayout(layoutName: string): void;
    getCurrentLayout(): Layout;
    getCurrentLayoutColumnSort(columnId: string): ColumnSort['SortOrder'] | null;
    getCurrentLayoutName(): string;
    getLayoutByName(layoutName: string): Layout | null;
    setExtendedLayout(extendedLayout: ExtendedLayout): void;
    createOrUpdateExtendedLayout(extendedLayoutInfo: ExtendedLayout): void;
    getExtendedLayoutByName(layoutName: string): ExtendedLayout | undefined;
    cloneExtendedLayout(extendedLayoutToClone: ExtendedLayout, layoutName: string): ExtendedLayout | false;
    getLayouts(): Layout[];
    getLayoutById(id: Layout['Uuid']): Layout;
    saveCurrentLayout(): void;
    doesLayoutExist(layout: Layout): boolean;
    createAndSetLayout(layoutToCreate: Layout): Layout | false;
    createLayout(layoutToCreate: Layout): Layout | false;
    cloneAndSetLayout(layoutToClone: Layout, layoutName: string): Layout | false;
    cloneLayout(layoutToClone: Layout, layoutName: string): Layout | false;
    setColumnCaption(columnId: string, caption: string): void;
    createOrUpdateLayout(layout: Layout): void;
    showChangeColumnCaption(column: AdaptableColumn): void;
    openLayoutSettingsPanel(): void;
    showLayoutEditor(layoutName?: string, layoutType?: 'table' | 'pivot', action?: ModuleParams['action']): void;
    deleteLayout(layout: Layout): void;
    deleteLayoutByName(layoutName: string): void;
    removeColumnFromCurrentLayout(columnId: string): void;
    addColumnToCurrentLayout(columnId: string): void;
}
