import type { FeeEstimation } from "@ledgerhq/coin-module-framework/api/types"; /** * A numeric fee parameter as the module reads it: a bigint, a safe integer or an integer string. * * Ledger Live's generic bridge keeps the last estimate's `parameters` JSON-safe, with bigints as * decimal strings (`feeParametersToJsonSafe`), and passes them back that way in `customFees` * (`getTransactionStatus`, `signOperation`). The send-max `amount` and `feePerByte` that * `estimateFees` returned may therefore come back as strings. A negative value is refused. */ export declare function toBigInt(value: unknown, field: string): bigint; /** The numeric fee parameter `field`, or `undefined` when absent. */ export declare function amountParameter(parameters: FeeEstimation["parameters"], field: string): bigint | undefined; //# sourceMappingURL=feeParameters.d.ts.map