import type { IUiComboboxOption } from "./types.js";
/** @internal */
export interface IUseComboboxSelectionParams {
    options: IUiComboboxOption[];
    value?: string;
    defaultValue?: string;
    onValueChange?: (value: string) => void;
    creatable?: boolean;
    setIsOpen: (open: boolean) => void;
}
/**
 * @internal
 */
export declare function useComboboxSelection({ options, value, defaultValue, onValueChange, creatable, setIsOpen }: IUseComboboxSelectionParams): {
    availableOptions: IUiComboboxOption[];
    inputValue: string;
    onInputChange: (next: string) => void;
    onInputBlur: () => void;
    selectedOption: IUiComboboxOption | undefined;
    selectOption: (option: IUiComboboxOption) => void;
    resetState: () => void;
};
//# sourceMappingURL=useComboboxSelection.d.ts.map