/** * Copyright (c) TonTech. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ /** * True when `amount`'s fractional digits exceed `decimals`. * Returns false when `decimals` is undefined (no constraint yet known) or the amount has no fraction. */ export declare const hasTooManyDecimals: (amount: string, decimals: number | undefined) => boolean; /** * True when the parsed `amount` exceeds `balance`. * Returns false when `balance` is undefined (we can't yet tell) or `amount` can't be parsed. */ export declare const isAmountExceedingBalance: (amount: string | undefined, balance: string | undefined) => boolean; //# sourceMappingURL=validate-amount.d.ts.map