import { OnesTable } from '../../../../../@ones-table/common';
import { CommandItemNamePosition, CommandItemState } from '../../types';
import { CommandBar } from '../../command-bar';
import { ToolbarItem, TableToolbarType } from '../../table-command-types';
import './merge-split-item.scss';
export declare class MergeSplitCellItem implements ToolbarItem {
    private table;
    id: string;
    name: string;
    icon: string;
    states: CommandItemState[];
    namePosition?: CommandItemNamePosition | undefined;
    constructor(table: OnesTable, type?: TableToolbarType);
    private rangeHasSpan;
    private canSplit;
    private canMerge;
    updateState: (bar?: CommandBar) => void;
    handleClick(): void;
}
