import type { FC, ReactNode } from 'react'; import type { BaseFilterProps, InternalFilterProps } from '../type'; export interface SelectOption { label: ReactNode; value: string; disabled?: boolean; } export interface FilterSelectProps extends BaseFilterProps, InternalFilterProps { /** 选项列表 */ options?: SelectOption[]; /** 当前选中值 */ value?: string; /** 值变化回调 */ onChange?: (value: string) => void; /** 自定义渲染选项 */ optionRender?: (option: SelectOption, info: { index: number; }) => ReactNode; /** 是否显示搜索框,默认为 false */ showSearch?: boolean; } declare const FilterSelect: FC; export default FilterSelect;