import React from 'react';
import { ColorFillRule } from '../../types/model';
import { IToolbar } from './normal-toolbar';
import './toolbar.scss';
interface ToolbarProps extends IToolbar {
    viewId: string;
    permissions?: {
        addRecord?: boolean;
        fieldManagement?: boolean;
        viewConfig?: boolean;
        filter?: boolean;
        sort?: boolean;
        group?: boolean;
        colorFill?: boolean;
        component?: boolean;
    };
    onFieldVisibilityChange?: (visibleFields: string[]) => void;
    onFilterChange?: (filter: string) => void;
    onSortChange?: (fields: string, order: 'asc' | 'desc') => void;
    onGroupChange?: (field: string) => void;
    onColorFillChange?: (rules: ColorFillRule[]) => void;
    renderRightContent?: () => React.ReactNode;
    renderLeftContent?: (params: {
        isCompact: boolean;
    }) => React.ReactNode;
    groupMaxLevels?: number;
    showFilterPanelTrigger?: number;
    showSortPanelTrigger?: number;
    showGroupPanelTrigger?: number;
    showColorFillPanelTrigger?: number;
    /** 为 false 时关闭 AI 字段等能力，添加字段按钮仍展示 */
    enableAiFields?: boolean;
    /** 为 false 时隐藏 lookup 字段入口 */
    enableLookup?: boolean;
    /** 为 false 时隐藏公式字段入口 */
    enableFormula?: boolean;
    /** 为 false 时隐藏右侧工具区域（筛选/排序/分组/填色/添加字段），左侧功能区不受影响 */
    toolbarVisible?: boolean;
}
export declare function Toolbar({ viewId, enableAiFields, enableLookup, enableFormula, toolbarVisible, permissions, onFieldVisibilityChange, onFilterChange, onSortChange, onGroupChange, onColorFillChange, renderRightContent, renderLeftContent, groupMaxLevels, showFilterPanelTrigger, showSortPanelTrigger, showGroupPanelTrigger, showColorFillPanelTrigger, batchArea, toolArea, buttonSize, selectKeys, storeSelectInfo, }: ToolbarProps): React.JSX.Element;
export {};
