import { ComponentType, MouseEvent, ReactElement } from 'react';
import { GroupedColumnsData, ColumnData } from '../../types/basicTable';
export declare function withColumnConfigurator<P extends object>(Table: ComponentType<P & {
    openConfigColumnPopup: (index: number, e: MouseEvent<HTMLElement>) => void;
}>): (props: {
    columns: GroupedColumnsData<ColumnData>[];
    onChangeColumns(ids: string[]): void;
    selectedColumns: string[];
} & Omit<P, keyof {
    columns: GroupedColumnsData<ColumnData>[];
    onChangeColumns(ids: string[]): void;
    selectedColumns: string[];
} | "openConfigColumnPopup">) => ReactElement;
