import { BasicApi } from "./types/TApi"; import { SelectProps } from 'antd'; import React from 'react'; export interface BaseOptionType { disabled?: boolean; [name: string]: any; } export interface ISelectOptions extends BaseOptionType { label?: React.ReactNode; value?: string | number | null; children?: Omit[]; } export interface ISelectProps extends SelectProps { searchDebounceTime?: number; remoteSearchApi?: (keyword: string) => Promise | any>; onRemoteSearchError?: (error: unknown) => void; onDataTransfer?: (raw: any) => ISelectOptions[]; searchImmediately?: boolean; highlightClassName?: string; highlightStyle?: React.CSSProperties; } declare function Select(props: ISelectProps): React.JSX.Element; export default Select;