import { OnesTable } from '../../../../../@ones-table/common';
import { AbstractCommandBar, Closeable, CommandItem, CommandItemChildrenPlacement, CommandItemElement, InitItemOptions } from '../../types';
import { CommandBar } from '../../command-bar';
import { ColorPaletteItem } from '../../color-palette';
import './border-line-item.scss';
import { ToolbarItem } from '../../table-command-types';
export type BorderLineStyle = 'thick' | 'thin' | 'dashed';
export declare class BorderLineItem implements ToolbarItem {
    private table;
    private parentCloseable;
    id: string;
    name: string;
    dropdown: boolean;
    manualShowChildren: boolean;
    children: CommandItem[];
    childrenPlacement: CommandItemChildrenPlacement;
    icon: string;
    dropdownElement: HTMLElement;
    dropSplit: boolean;
    childrenMenuId: string;
    private toolbar1;
    private toolbar2;
    colorPaletteItem: ColorPaletteItem;
    latestColors: [number | null, number | null];
    private borderColor;
    private borderStyle;
    private lastClickItemId;
    private parentToolbar;
    private dropdownMenubar;
    private colorItem;
    constructor(table: OnesTable, parentCloseable: Closeable);
    destroy(): void;
    beforePopup: (bar: AbstractCommandBar) => void;
    private updateStates;
    private createDropdownElement;
    private setBorder;
    private handleClickItem;
    handleClick: (bar: CommandBar, item: CommandItem) => void;
    private handlePaletteClick;
    trySetBorder(): void;
    initItem: (item: CommandItem, elem: CommandItemElement, options: InitItemOptions, bar: AbstractCommandBar) => void;
    updateMainIcon(): void;
    updateColorIcon(): void;
    getLastBorderItem(): CommandItem | null;
}
