import React from 'react';
import { SelectProps } from 'antd';
import './index.less';
export interface BaseOption {
    label: string;
    value: string | number;
}
export interface CustomSelectProps<T extends BaseOption> extends Omit<SelectProps<T['value']>, 'options' | 'value' | 'onChange'> {
    options: T[];
    value?: T['value'];
    onChange?: (value: T['value']) => void;
    renderItem?: (option: T) => React.ReactNode;
    className?: string;
    style?: React.CSSProperties;
}
declare const CustomSelect: <T extends BaseOption>(props: CustomSelectProps<T>) => React.JSX.Element;
export default CustomSelect;
