import { type ChangeEvent, type FocusEvent, type ReactElement, type RefObject } from 'react';
import type { InputComponentProps, SearchFieldProps } from '../types';
type UseLogicResult = {
    restProps: SearchFieldProps;
    isLoading?: boolean;
    placeholder: string;
    inputComponent?: (props: InputComponentProps) => ReactElement;
    onChange: (event: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
    fullWidth?: boolean;
    onClearValue: () => void;
    inputRef: RefObject<HTMLInputElement | null>;
    value: string;
    disabled?: boolean;
    isClearButtonDisabled: boolean;
    onBlur: (event: FocusEvent<HTMLInputElement>) => void;
    hideHelperText?: boolean;
};
export declare const useLogic: ({ onChange: propsOnChange, defaultValue, value, inputRef: externalInputRef, disabled, onBlur: propsOnBlur, fullWidth, isLoading, placeholder, inputComponent, hideHelperText, ...restProps }: SearchFieldProps) => UseLogicResult;
export {};
