import { useSearchField } from 'react-aria';
import { SearchFieldProps, useSearchFieldState } from 'react-stately';
import { WithNullableValue } from '../../../utils/react/nullableValue';
import { CubeTextInputBaseProps } from '../TextInput';
export { useSearchFieldState, useSearchField };
export type { SearchFieldProps };
export interface CubeSearchInputProps extends CubeTextInputBaseProps, SearchFieldProps {
    /** Whether the search input is clearable using ESC keyboard button or clear button inside the input */
    isClearable?: boolean;
    /** Callback called when the clear button is pressed */
    onClear?: () => void;
}
export declare const SearchInput: import("react").ForwardRefExoticComponent<Omit<WithNullableValue<CubeSearchInputProps>, "ref"> & import("react").RefAttributes<unknown>>;
