import { CellMask, OnesTable } from '../../../../../@ones-table/common';
import { GC } from '../../../../../@ones-table/core';
import { CommandItemNamePosition, CommandItemState } from '../../types';
import { ToolbarItem, TableToolbarType } from '../../table-command-types';
import { CommandBar } from '../../command-bar';
import './format-painter.scss';
export declare class FormatPainterItem implements ToolbarItem {
    private table;
    states: CommandItemState[];
    id: string;
    name: string;
    icon: string;
    cellMask: CellMask;
    lastClickedTime: number;
    doubleClicked: boolean;
    painting: boolean;
    style: GC.Spread.Sheets.Style | null;
    namePosition?: CommandItemNamePosition | undefined;
    forceTooltip: boolean;
    desc: string;
    constructor(table: OnesTable, type?: TableToolbarType);
    handleClick(): void;
    updateState(bar?: CommandBar): void;
    private handleMaskCreate;
    private handleSelectionChanged;
}
