import * as React from "react"; import { CSSObject } from "zq_ui_react_4/utils/css/config"; import { ZQUIBase } from "zq_ui_react_4/zq"; import { CellDataProps, ExcelValue, IndexProps } from "../../utils/excel/valueProps"; import { PrintDataProps } from "../TempEditorV2/downloadUtils"; export declare const getSelectedItems: (items: Array>, startCell: IndexProps, endCell: IndexProps) => any[][]; export declare const selectedCellsDoAction: (items: Array>, startCell: IndexProps, endCell: IndexProps, doAction: (item: CellDataProps, rIndex?: number, cIndex?: number) => CellDataProps) => CellDataProps[][]; export declare const changeCss: (items: Array>, startCell: IndexProps, endCell: IndexProps, css: CSSObject) => CellDataProps[][]; export declare const clearAllCss: (items: Array>, startCell: IndexProps, endCell: IndexProps) => CellDataProps[][]; export declare const clearStyle: (items: Array>, startCell: IndexProps, endCell: IndexProps) => CellDataProps[][]; export declare const changeValue: (items: Array>, startCell: IndexProps, endCell: IndexProps, value: ExcelValue) => CellDataProps[][]; export declare const changeAllAttr: (items: Array>, startCell: IndexProps, endCell: IndexProps, attrs: CellDataProps) => CellDataProps[][]; interface ToolbarProps extends ZQUIBase { rowNum: number; cellNum: number; items: Array>; sheet?: Record>>; startCell: IndexProps; setStartCell: any; endCell: IndexProps; setItems: any; setEndCell: any; onChangeCellSize: (rowNum: number, cellNum: number) => void; readOnly?: boolean; undo?: (isRedo: boolean) => void; hasRedo?: boolean; hasUndo?: boolean; onImportExcel?: (v: Record>>) => void; onExportExcel?: () => void; onSave?: () => void; onDelCell: () => void; ToolbarExtendComp?: React.FC; ToolbarExtendCompProps?: any; printData?: PrintDataProps; } declare const Toolbar: React.FC; export default Toolbar;