import { Ref } from 'react';
import { FieldValues } from 'react-hook-form';
import { AutocompleteProps } from '../../extended/mui/Autocomplete/types';
import { BaseRHFProps } from '../../../hocs/withRHFController/types';
/**
 * RHFAutocomplete component renders an autocomplete input field integrated with react-hook-form.
 * Uses the withRHFController HOC to handle Controller, Label, and error display automatically.
 * Generic T is the option type (e.g. FormOperator, FormOperandBoolean).
 * @example
 * ```tsx
 * <RHFAutocomplete<MyOption>
 *   name="city"
 *   label="City"
 *   options={cities}
 *   getOptionLabel={(opt) => opt.name}
 *   isOptionEqualToValue={(opt, val) => opt.id === val.id}
 * />
 * ```
 */
/** Props for RHFAutocomplete: Autocomplete props without value/onChange (injected by RHF Controller). */
export type RHFAutocompleteProps<T, Multiple extends boolean | undefined = undefined> = Omit<AutocompleteProps<T, Multiple>, 'value' | 'onChange'> & BaseRHFProps<FieldValues> & {
    ref?: Ref<HTMLInputElement | HTMLTextAreaElement>;
    /**
     * @deprecated Has no effect on the component. Kept only for API compatibility.
     * The underlying input type is not configurable; this prop is ignored and has no impact.
     * Will be removed in an upcoming release.
     */
    type?: string;
    /**
     * @deprecated Has no effect on the component. Kept only for API compatibility.
     * Autocomplete behaviour is controlled internally; this prop is ignored and has no impact.
     * Will be removed in an upcoming release.
     */
    autoComplete?: string;
};
export declare const RHFAutocomplete: <T, Multiple extends boolean | undefined = undefined>(props: RHFAutocompleteProps<T, Multiple>) => JSX.Element;
//# sourceMappingURL=RHFAutocomplete.d.ts.map