import type { Currency } from '../currency-code-picker/types.js';
import type { AmountInputPropsGeneric, AmountValue } from './types.js';
interface UseAmountInputProps {
    value?: AmountValue;
    defaultValue?: AmountValue;
    type: AmountInputPropsGeneric['type'];
    onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
    onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
    precision?: number;
    viewPrecision?: number;
    trailingZeros?: boolean;
    units?: Currency[];
}
export declare const useAmountInput: ({ value, defaultValue, type, onChange, onBlur, precision, viewPrecision, trailingZeros, units, }: UseAmountInputProps) => {
    isPercent: boolean;
    isShowSelect: boolean;
    options: Currency[] | {
        ticker: string;
        crypto: boolean;
        label: string;
        symbol: string;
    }[];
    valueInput: string | number | undefined;
    valueSelect: string;
    handleOnChangeInput: (e: React.ChangeEvent<HTMLInputElement>) => void;
    handleOnChangeSelect: (e: string) => void;
    handleBlur: (e: React.FocusEvent<HTMLInputElement>) => void;
    isBigInt: boolean;
    handleIsInputFocused: () => void;
    inputFocused: boolean;
    isAmountWithoutUnit: boolean;
};
export {};
//# sourceMappingURL=use-amount-input.d.ts.map