/// <reference types="react" />
import { SelectProps } from 'antd/lib/select';
import { YPopoverProps } from '../popover/popover.interface';
export interface YSelectProps<VT> {
    disabled?: boolean;
    value?: any;
    onChange?: (value: any, options: any) => void;
    valueType?: YSelectValueType;
    addBtnText?: string;
    shouldInitFetch?: boolean;
    shouldFetchWhenEmpty?: boolean;
    requestTime?: number;
    request?: (keyword?: string | undefined) => any;
    apiDataKey?: string;
    apiLabelKey?: string;
    apiValueKey?: string;
    handleResponseData?: (resList: any[]) => YSelectCustomValue[];
    showAddBtn?: boolean;
    showDefaultOption?: boolean;
    defaultOptionText?: string;
    defaultOptionValue?: string;
    previewPlaceholder?: string;
    originalProps?: SelectProps<VT>;
    minWidth?: boolean | string | null | undefined;
    hoverText?: boolean | ((el: YSelectCustomValue) => React.ReactNode);
    hoverTextConfig?: YPopoverProps;
    shouldRequestOnFilter?: boolean;
}
export interface YSelectCustomValue {
    value: string | number;
    label: string | undefined;
    data?: object;
    disabled?: boolean;
}
declare type YSelectValueType = 'object' | 'string';
export {};
//# sourceMappingURL=select.interface.d.ts.map