import * as React from 'react';
import { GroupBase } from 'react-select';
import type { AsyncProps } from 'react-select/async';
import { CapInputSize, InputVariantColor } from '../form';
export interface SearchProps = GroupBase > extends Omit, 'onChange' | 'defaultValue' | 'value' | 'loadOption'> {
loadOptions?: (inputValue: string, callback: (options: any) => void) => Promise | void;
isDisabled?: boolean;
isInvalid?: boolean;
variantSize?: CapInputSize;
variantColor?: InputVariantColor;
width?: string | number;
onChange?: (value: string) => void;
onSelect?: (value: Option) => void;
value?: string;
inputTitle?: string;
}
export declare const SearchWithRef: = GroupBase >({ className, width, onChange, onSelect, value, loadOptions, ...props }: SearchProps , ref: React.ForwardedRef) => React.JSX.Element;
export declare const Search: React.ForwardRefExoticComponent> & React.RefAttributes>;
export default Search;