///
import { GridColumns, GridEventListener, GridEvents } from '@mui/x-data-grid';
import { DropDownInputProps } from './dropdown-input';
import { PopperPlacementType } from '@mui/material';
/** mui DataGrid 数据必须有id */
export type IDataItem = {
id: any;
};
export type MuiSearchProps = {
/** 列定义 */
columns: GridColumns;
/** 获取数据方法 */
getDataList: (value: string) => Promise;
/** 点击事件 */
onRowClick?: GridEventListener;
/** 下拉框位置
* @default "bottom"
*/
placement?: PopperPlacementType;
dataGridWidth?: any;
dataGridHeight?: any;
/** 输入框value */
inputValue?: string;
/** 输入框valueChange */
onInputChange?: (value: string) => void;
} & Omit;
/**
* 输入下拉 不支持回显
* @date 2023/4/1 - 17:21:53
*
* @template T
* @param {MuiSearchProps} {
columns,
onRowClick,
getDataList,
inputValue,
onInputChange,
placement,
dataGridWidth = 500,
dataGridHeight = 250,
...props
}
* @returns {*}
*/
export declare const MuiSearch: ({ columns, onRowClick, getDataList, inputValue, onInputChange, placement, dataGridWidth, dataGridHeight, ...props }: MuiSearchProps) => JSX.Element;
//# sourceMappingURL=view.d.ts.map