import { AutocompleteChangeReason, AutocompleteCloseReason } from '@mui/material';
import { KeyboardEvent } from 'react';
import { AutocompleteProps } from '../types';
/**
 * Hook para el componente Autocomplete local, proporciona los valores y los handlers para el componente Autocomplete.
 */
export declare function useValuesAndHandlers<T, Multiple extends boolean | undefined>(props: AutocompleteProps<T, Multiple>): {
    open: boolean;
    inputValue: string;
    selectedValue: T | T[] | null;
    isOptionEqualToValueLocal: (option: unknown, val: unknown) => boolean;
    handleDelete: (optionToDelete: T) => void;
    handleRefresh: () => void;
    handleChange: (event: React.SyntheticEvent<Element, Event>, newSelectedValue: unknown, reason: AutocompleteChangeReason) => void;
    handleInputChange: (_event: React.SyntheticEvent, newValue: string, reason: string) => void;
    onCloseLocal: (event: React.SyntheticEvent, reason: AutocompleteCloseReason) => void;
    onOpenLocal: (event: React.SyntheticEvent) => void;
    getOptionLabelLocal: (option: unknown) => string;
    checkKeyDown: (e: KeyboardEvent<HTMLDivElement>) => void;
    scrollPositionOptionsRef: import('react').RefObject<number>;
};
//# sourceMappingURL=useValuesAndHandlers.d.ts.map