import { AFM, Execution } from "@gooddata/typings";
import * as React from "react";
import { IntlShape } from "react-intl";
import { IMenuAggregationClickConfig } from "../../../interfaces/PivotTable";
import { IOnOpenedChangeParams } from "../../menu/MenuSharedTypes";
export interface IColumnTotal {
    type: AFM.TotalType;
    attributes: string[];
}
export interface IAggregationsMenuProps {
    intl: IntlShape;
    isMenuOpened: boolean;
    isMenuButtonVisible: boolean;
    showSubmenu: boolean;
    colId: string;
    getExecutionResponse: () => Execution.IExecutionResponse;
    getTotals: () => AFM.ITotalItem[];
    getAfmFilters: () => AFM.CompatibilityFilter[];
    onAggregationSelect: (clickConfig: IMenuAggregationClickConfig) => void;
    onMenuOpenedChange: ({ opened, source }: IOnOpenedChangeParams) => void;
}
export default class AggregationsMenu extends React.Component<IAggregationsMenuProps> {
    render(): JSX.Element;
    private getColumnTotals;
    private getTogglerClassNames;
    private renderMenuItemContent;
    private getItemClassNames;
    private renderMainMenuItems;
}
