import type { ReactNode } from 'react'; import React from 'react'; import type { AnyObject } from "../../_util/type"; import type { ColumnTitleProps, InternalColumnsType, Key, OptionConfig, TableActionType, TableLocale, ToolbarSearchProps, ToolbarSemanticClsType } from '../interface'; export type ToolBarProps = { prefixCls: string; className?: ToolbarSemanticClsType; headerTitle?: React.ReactNode; actions?: ReactNode[]; tableAction: TableActionType; options?: OptionConfig | boolean; optionsRender?: (defaultDom: React.ReactNode[]) => React.ReactNode[]; search?: ToolbarSearchProps | boolean; searchValues?: Record; onSearch?: (params: Record) => void; columns: InternalColumnsType; tableLocale: TableLocale; columnTitleProps: ColumnTitleProps; }; declare function ToolBar({ prefixCls, className, tableLocale, headerTitle, tableAction, actions, options: propsOptions, columns, optionsRender, columnTitleProps, search, searchValues: searchValue, onSearch, }: ToolBarProps): React.JSX.Element; export default ToolBar;