import { ISelectDisplayInfoItem, ISelectQuery } from '@rc-hooks/select';
import { UnionOmit } from '@co-hooks/util';
import { HTMLAttributes } from 'react';
import { ISelectBase } from '../select/components/SelectBase';
import { ISelectExtraProps } from '../select/Select';
export interface IRimlessSelect<T> {
    useTag?: boolean;
    value?: T;
    disabled?: boolean;
    readonly?: boolean;
    filterOption?: ISelectQuery<T>;
    onChange?: (value: T) => void;
    onValueChange?: (value: T) => void;
    onDisplayInfoChange?: (info: Array<ISelectDisplayInfoItem<T>>) => void;
    autoClearSearchValue?: boolean;
}
export declare type RimlessSelectProps<T> = UnionOmit<IRimlessSelect<T> & ISelectExtraProps & ISelectBase<T>, HTMLAttributes<HTMLDivElement>>;
export declare function RimlessSelect<T>(props: RimlessSelectProps<T>): JSX.Element;
export declare namespace RimlessSelect {
    var Option: typeof import("../select/Option").Option;
    var OptionGroup: typeof import("../select/OptionGroup").OptionGroup;
}
