import type { RequestConfig } from "../../_util/type"; import type { ScrollValues } from '../../scrollbar'; import type { BaseOptionType, FieldNames, SelectProps } from '../interface'; export default function (fieldNames: Required>, request?: RequestConfig, showSearch?: boolean, searchValue?: string, optionFilterProp?: string, lazyLoad?: boolean, onScroll?: SelectProps['onPopupScroll'], combobox?: boolean): { options: (TData | { __loading__: boolean; })[]; loading: boolean; onScroll: (values: ScrollValues, ev: React.UIEvent) => void; loadingMore: boolean; };