import { GC } from '../../../../../../@ones-table/core';
import { OnesTable } from '../../../../../../@ones-table/common';
import { ToolbarItem } from '../../../table-command-types';
import { CommandItem, CommandItemState } from '../../../types';
import { CommandBar } from '../../../command-bar';
import './group-item.scss';
export declare class GroupItem implements ToolbarItem {
    private table;
    id: string;
    name: string;
    icon: string;
    children: CommandItem[];
    range: GC.Spread.Sheets.Range | null;
    states?: CommandItemState[];
    constructor(table: OnesTable);
    handleClick(bar: CommandBar, item: CommandItem): void;
    updateState(bar?: CommandBar | undefined): void;
}
