import type { RecordData, KeyType, ValueType } from '../index'; import type { SelectProps } from 'antd'; export interface SelectDataConfig extends Omit< SelectProps, 'value' | 'onChange' | 'onSearch' | 'options' | 'optionFilterProp' > { itemKey?: KeyType; itemText?: KeyType; onGetData?: ( searchValue?: string, item?: number, parentValue?: ValueType ) => Promise; searchFromServer?: boolean; } export { Item } from './item'; export type { SelectDataItemProps } from './item'; export { Link } from './link'; export type { SelectDataLinkProps } from './link';