import { NimboraSDK } from ".."; import { GetAllowanceLiquityProps, GetAllowanceLiquityRes, GetUserAmountInBatchLiquityProps, GetUserAmountInBatchLiquityRes, GetUsersInBatchLiquityProps, GetUsersInBatchLiquityRes, GetUserGasInBatchLiquityProps, GetUserDebtLiquityProps, GetRequiredGasFeeToParticipateCurrrentBatchLiquityProps, GetTimestampClosedBatchProps } from "../config/types"; /** * Retrieves the batch gas unit for a Trove * @param this - The NimboraSDK instance. * @param troveAddress - The address of the Trove. * @returns A promise that resolves to the batch gas unit as a bigint. */ export declare function getBatchGasUnitLiquity(this: NimboraSDK, troveAddress: string): Promise; /** * Retrieves the batch gas unit per user for a Trove * @param this - The NimboraSDK instance. * @param troveAddress - The address of the Trove. * @returns A promise that resolves to the batch gas unit per user as a bigint. */ export declare function getBatchGasUnitPerUserLiquity(this: NimboraSDK, troveAddress: string): Promise; /** * Retrieves the batch gas fee per user for a Trove * @param this - The NimboraSDK instance. * @param troveAddress - The address of the Trove. * @returns A promise that resolves to the batch gas fee per user as a bigint. */ export declare function getBatchGasFeePerUserLiquity(this: NimboraSDK, troveAddress: string): Promise; /** * Retrieves the gas tank balance of a specific Trove in Liquity. * @param this - The NimboraSDK instance. * @param troveAddress - The address of the Trove. * @returns A promise that resolves to the gas tank balance as a bigint. */ export declare function getGasTankLiquity(this: NimboraSDK, troveAddress: string): Promise; /** * Retrieves the allowance for ETH and LUSD tokens for a user and a Trove * @param this - The NimboraSDK instance. * @param props - The GetAllowanceLiquityProps object containing troveAddress and userAddress. * @returns A promise that resolves to a GetAllowanceLiquityRes object. */ export declare function getAllowanceLiquity(this: NimboraSDK, props: GetAllowanceLiquityProps): Promise; /** * Retrieves the batch counter for a Trove * @param this - The NimboraSDK instance. * @param troveAddress - The address of the Trove. * @returns A promise that resolves to the batch counter as a bigint. */ export declare function getBatchCounterLiquity(this: NimboraSDK, troveAddress: string): Promise; /** * Retrieves the last handled batch nonce for a Trove * @param this - The NimboraSDK instance. * @param troveAddress - The address of the Trove. * @returns A promise that resolves to the last handled batch nonce as a bigint. */ export declare function getLastHandledBatchNonceLiquity(this: NimboraSDK, troveAddress: string): Promise; /** * Retrieves user borrow and repay lists for a specific batch nonce * @param this - The NimboraSDK instance. * @param props - The GetUsersInBatchLiquityProps object containing troveAddress and batchNonce. * @returns A promise that resolves to a GetUsersInBatchLiquityRes object. */ export declare function getUsersInBatchLiquity(this: NimboraSDK, props: GetUsersInBatchLiquityProps): Promise; /** * Retrieves user borrow and repay amounts for a specific batch nonce and user address * @param this - The NimboraSDK instance. * @param props - The GetUserAmountInBatchLiquityProps object containing troveAddress, batchNonce, and userAddress. * @returns A promise that resolves to a GetUserAmountInBatchLiquityRes object. */ export declare function getUserAmountInBatchLiquity(this: NimboraSDK, props: GetUserAmountInBatchLiquityProps): Promise; /** * Retrieves user gas consumption for a specific batch nonce and user address * @param this - The NimboraSDK instance. * @param props - The GetUserGasInBatchLiquityProps object containing troveAddress, batchNonce, and userAddress. * @returns A promise that resolves to the user's gas consumption as a bigint. */ export declare function getUserGasInBatchLiquity(this: NimboraSDK, props: GetUserGasInBatchLiquityProps): Promise; /** * Calculates the number of users required to close a batch for a specific Trove. * @param this - The NimboraSDK instance. * @param troveAddress - The address of the Trove. * @returns A promise that resolves to the number of users required to close a batch as a bigint. */ export declare function getNumberOfUsersToCloseBatchLiquity(this: NimboraSDK, troveAddress: string): Promise; /** * Calculates the total required gas to close a batch for a specific Trove. * @param this - The NimboraSDK instance. * @param troveAddress - The address of the Trove. * @returns A promise that resolves to the total required gas as a bigint. */ export declare function getTotalRequiredGasFeeToCloseBatchLiquity(this: NimboraSDK, troveAddress: string): Promise; /** * Calculates the remaining gas fee required to close a batch for a specific Trove in Liquity. * @param this - The NimboraSDK instance. * @param troveAddress - The address of the Trove. * @returns A promise that resolves to the remaining gas fee as a bigint. */ export declare function getRemainingGasFeeToCloseBatch(this: NimboraSDK, troveAddress: string): Promise; /** * Retrieves the total debt of a Trove * @param this - The NimboraSDK instance. * @param troveAddress - The address of the Trove. * @returns A promise that resolves to the total Trove debt as a bigint. */ export declare function getTotalTroveDebtLiquity(this: NimboraSDK, troveAddress: string): Promise; /** * Retrieves the total trove supply issued by the trove * @param this - The NimboraSDK instance. * @param troveAddress - The address of the Trove. * @returns A promise that resolves to the total Trove supply as a bigint. */ export declare function getTotalTroveSupplyLiquity(this: NimboraSDK, troveAddress: string): Promise; /** * Retrieves the debt of a specific user in a Trove * @param this - The NimboraSDK instance. * @param props - The GetUserDebtLiquityProps object containing troveAddress and userAddress. * @returns A promise that resolves to the user's debt in the Trove as a bigint. */ export declare function getUserDebtLiquity(this: NimboraSDK, props: GetUserDebtLiquityProps): Promise; /** * Retrieves the total supply of LUSD tokens. * @param this - The NimboraSDK instance. * @returns A promise that resolves to the total supply of LUSD tokens as a bigint. */ export declare function getLUSDTotalSupply(this: NimboraSDK): Promise; /** * Retrieves the timestamp when a batch has been launched * @param this - The NimboraSDK instance. * @param props - contain trove adddress and nonce * @returns A promise that resolves the batch timestamp when launched as a bigint. */ export declare function getTimestampClosedBatchLiquity(this: NimboraSDK, props: GetTimestampClosedBatchProps): Promise; /** * Retrieves the timestamp when a batch has been launched * @param this - The NimboraSDK instance. * @param troveAddress - trove address * @returns A promise that retuns a boolean when launched as a bigint. */ export declare function isRedistributionLiquity(this: NimboraSDK, troveAddress: string): Promise; /** * Calculates the required gas fee to participate in the current batch in Liquity. * @param this - The NimboraSDK instance. * @param props - An object containing Trove and user information. * @returns A promise that resolves to the required gas fee as a bigint. */ export declare function getRequiredGasFeeToParticipateCurrrentBatchLiquity(this: NimboraSDK, props: GetRequiredGasFeeToParticipateCurrrentBatchLiquityProps): Promise;