import type { PhoneNumberInputProps } from './types.js';
import type { SelectOption } from '../select/types.js';
interface UsePhoneNumberInputProps {
    value: PhoneNumberInputProps['value'];
    defaultValue: PhoneNumberInputProps['defaultValue'];
    onChange: PhoneNumberInputProps['onChange'];
    onKeyDown: PhoneNumberInputProps['onKeyDown'];
    onBlur: PhoneNumberInputProps['onBlur'];
    allowedCountries: PhoneNumberInputProps['allowedCountries'];
    excludedCountries: PhoneNumberInputProps['excludedCountries'];
    includeDependentAreas: PhoneNumberInputProps['includeDependentAreas'];
    prefixOptionFormat: PhoneNumberInputProps['prefixOptionFormat'];
    externalRef?: React.ForwardedRef<HTMLInputElement>;
}
export declare const usePhoneNumberInput: ({ value, defaultValue, onChange, onKeyDown, onBlur, allowedCountries, excludedCountries, includeDependentAreas, prefixOptionFormat, externalRef, }: UsePhoneNumberInputProps) => {
    options: SelectOption[];
    selectValue: string;
    inputValue: string;
    handleSelectOnChange: (newSelectValue: string) => void;
    handleInputOnChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
    handleOnKeyDown: (e: React.KeyboardEvent<HTMLInputElement>) => void;
    handleSelectBlur: (e: React.FocusEvent<HTMLButtonElement>) => void;
    handleInputBlur: (e: React.FocusEvent<HTMLInputElement>) => void;
    mergedRef: (node: HTMLInputElement | null) => void;
    containerRef: import("react").MutableRefObject<HTMLDivElement | null>;
};
export {};
//# sourceMappingURL=use-phone-number-input.d.ts.map