import type { BaseOptionType, SelectProps } from 'antd/lib/select'; import React from 'react'; import type { ICellEditorParams } from 'ag-grid-community'; import type { ICellEditorReactComp } from 'ag-grid-react'; export declare type SelectEditorParams = Pick, 'disabled' | 'options' | 'virtual' | 'showSearch' | 'listHeight' | 'allowClear' | 'mode' | 'optionFilterProp'> & { fieldNames?: { label: string; value: string; }; /** * 是否是用options的数组成员作为value的值,此时传入的value也应该是数组成员的类型 */ valueByOption?: boolean; /** * 完成选择后的单元格切换行为,默认为next */ action?: 'next' | 'stop' | 'none'; }; declare const _default: React.ForwardRefExoticComponent & Pick, "disabled" | "allowClear" | "mode" | "showSearch" | "virtual" | "optionFilterProp" | "options" | "listHeight"> & { fieldNames?: { label: string; value: string; } | undefined; /** * 是否是用options的数组成员作为value的值,此时传入的value也应该是数组成员的类型 */ valueByOption?: boolean | undefined; /** * 完成选择后的单元格切换行为,默认为next */ action?: "stop" | "none" | "next" | undefined; } & React.RefAttributes>; export default _default;