import { type ChangeEvent } from 'react'; import * as React from 'react'; import { type NativeSelectValue, type SelectValue } from '../../NativeSelect/NativeSelect'; import { type SelectProps } from '../CustomSelect'; type UseSelectedOptionControllerProps = Pick & { isControlledOutside: boolean; allowClearButton: boolean; onChange?: (e: ChangeEvent, newValue: SelectValue) => void; }; export declare function useSelectedOptionController({ value, defaultValue, isControlledOutside, allowClearButton, onChange, }: UseSelectedOptionControllerProps): { selectedOptionValue: SelectValue; setSelectedOptionValue: React.Dispatch>; nativeSelectValue: NativeSelectValue; setNativeSelectValue: (newValue: NativeSelectValue) => void; onNativeSelectChange: React.ChangeEventHandler; }; export {}; //# sourceMappingURL=useSelectedOptionController.d.ts.map