import { type Currency } from "#scalars";
import { type AmountInputPropsGeneric, type 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: {
        ticker: string;
        crypto: boolean;
        label: string;
        symbol: string;
    }[] | Currency[];
    valueInput: string | number | undefined;
    valueSelect: string | undefined;
    handleOnChangeInput: (e: React.ChangeEvent<HTMLInputElement>) => void;
    handleOnChangeSelect: (e: string | string[]) => void;
    handleBlur: (e: React.FocusEvent<HTMLInputElement>) => void;
    isBigInt: boolean;
    handleIsInputFocused: () => void;
    inputFocused: boolean;
    isAmountWithoutUnit: boolean;
};
export {};
//# sourceMappingURL=use-amount-input.d.ts.map