/**
 * Autogenerated file. Do not edit manually. */
export declare const BorrowStableFailed: {
    readonly inputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "errorCode";
        readonly type: "uint256";
    }];
    readonly name: "BorrowStableFailed";
    readonly type: "error";
};
export declare const ConvertFundsFailed: {
    readonly inputs: readonly [];
    readonly name: "ConvertFundsFailed";
    readonly type: "error";
};
export declare const ExitFailed: {
    readonly inputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "errorCode";
        readonly type: "uint256";
    }];
    readonly name: "ExitFailed";
    readonly type: "error";
};
export declare const ExtNotFound: {
    readonly inputs: readonly [{
        readonly internalType: "bytes4";
        readonly name: "_functionSelector";
        readonly type: "bytes4";
    }];
    readonly name: "ExtNotFound";
    readonly type: "error";
};
export declare const NotPositionOwner: {
    readonly inputs: readonly [];
    readonly name: "NotPositionOwner";
    readonly type: "error";
};
export declare const OnlyWhenClosed: {
    readonly inputs: readonly [];
    readonly name: "OnlyWhenClosed";
    readonly type: "error";
};
export declare const RedeemCollateralFailed: {
    readonly inputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "errorCode";
        readonly type: "uint256";
    }];
    readonly name: "RedeemCollateralFailed";
    readonly type: "error";
};
export declare const RedeemFailed: {
    readonly inputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "errorCode";
        readonly type: "uint256";
    }];
    readonly name: "RedeemFailed";
    readonly type: "error";
};
export declare const RepayBorrowFailed: {
    readonly inputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "errorCode";
        readonly type: "uint256";
    }];
    readonly name: "RepayBorrowFailed";
    readonly type: "error";
};
export declare const RepayFlashLoanFailed: {
    readonly inputs: readonly [{
        readonly internalType: "address";
        readonly name: "asset";
        readonly type: "address";
    }, {
        readonly internalType: "uint256";
        readonly name: "currentBalance";
        readonly type: "uint256";
    }, {
        readonly internalType: "uint256";
        readonly name: "repayAmount";
        readonly type: "uint256";
    }];
    readonly name: "RepayFlashLoanFailed";
    readonly type: "error";
};
export declare const SupplyCollateralFailed: {
    readonly inputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "errorCode";
        readonly type: "uint256";
    }];
    readonly name: "SupplyCollateralFailed";
    readonly type: "error";
};
export declare const adjustLeverageRatio: {
    readonly inputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "targetRatioMantissa";
        readonly type: "uint256";
    }];
    readonly name: "adjustLeverageRatio";
    readonly outputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "";
        readonly type: "uint256";
    }];
    readonly stateMutability: "nonpayable";
    readonly type: "function";
};
export declare const claimRewards_: {
    readonly inputs: readonly [];
    readonly name: "claimRewards";
    readonly outputs: readonly [];
    readonly stateMutability: "nonpayable";
    readonly type: "function";
};
export declare const claimRewards_address: {
    readonly inputs: readonly [{
        readonly internalType: "address";
        readonly name: "withdrawTo";
        readonly type: "address";
    }];
    readonly name: "claimRewards";
    readonly outputs: readonly [];
    readonly stateMutability: "nonpayable";
    readonly type: "function";
};
export declare const closePosition_address: {
    readonly inputs: readonly [{
        readonly internalType: "address";
        readonly name: "withdrawTo";
        readonly type: "address";
    }];
    readonly name: "closePosition";
    readonly outputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "withdrawAmount";
        readonly type: "uint256";
    }];
    readonly stateMutability: "nonpayable";
    readonly type: "function";
};
export declare const closePosition_: {
    readonly inputs: readonly [];
    readonly name: "closePosition";
    readonly outputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "";
        readonly type: "uint256";
    }];
    readonly stateMutability: "nonpayable";
    readonly type: "function";
};
export declare const collateralAsset: {
    readonly inputs: readonly [];
    readonly name: "collateralAsset";
    readonly outputs: readonly [{
        readonly internalType: "contract IERC20Upgradeable";
        readonly name: "";
        readonly type: "address";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
};
export declare const collateralMarket: {
    readonly inputs: readonly [];
    readonly name: "collateralMarket";
    readonly outputs: readonly [{
        readonly internalType: "contract ICErc20";
        readonly name: "";
        readonly type: "address";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
};
export declare const factory: {
    readonly inputs: readonly [];
    readonly name: "factory";
    readonly outputs: readonly [{
        readonly internalType: "contract ILeveredPositionFactory";
        readonly name: "";
        readonly type: "address";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
};
export declare const fundPosition: {
    readonly inputs: readonly [{
        readonly internalType: "contract IERC20Upgradeable";
        readonly name: "fundingAsset";
        readonly type: "address";
    }, {
        readonly internalType: "uint256";
        readonly name: "amount";
        readonly type: "uint256";
    }];
    readonly name: "fundPosition";
    readonly outputs: readonly [];
    readonly stateMutability: "nonpayable";
    readonly type: "function";
};
export declare const getAccruedRewards: {
    readonly inputs: readonly [];
    readonly name: "getAccruedRewards";
    readonly outputs: readonly [{
        readonly internalType: "contract ERC20[]";
        readonly name: "rewardTokens";
        readonly type: "address[]";
    }, {
        readonly internalType: "uint256[]";
        readonly name: "amounts";
        readonly type: "uint256[]";
    }];
    readonly stateMutability: "nonpayable";
    readonly type: "function";
};
export declare const getCurrentLeverageRatio: {
    readonly inputs: readonly [];
    readonly name: "getCurrentLeverageRatio";
    readonly outputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "";
        readonly type: "uint256";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
};
export declare const getEquityAmount: {
    readonly inputs: readonly [];
    readonly name: "getEquityAmount";
    readonly outputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "equityAmount";
        readonly type: "uint256";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
};
export declare const getMaxLeverageRatio: {
    readonly inputs: readonly [];
    readonly name: "getMaxLeverageRatio";
    readonly outputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "";
        readonly type: "uint256";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
};
export declare const getMinLeverageRatio: {
    readonly inputs: readonly [];
    readonly name: "getMinLeverageRatio";
    readonly outputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "";
        readonly type: "uint256";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
};
export declare const getSupplyAmountDelta: {
    readonly inputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "targetRatio";
        readonly type: "uint256";
    }];
    readonly name: "getSupplyAmountDelta";
    readonly outputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "";
        readonly type: "uint256";
    }, {
        readonly internalType: "uint256";
        readonly name: "";
        readonly type: "uint256";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
};
export declare const isPositionClosed: {
    readonly inputs: readonly [];
    readonly name: "isPositionClosed";
    readonly outputs: readonly [{
        readonly internalType: "bool";
        readonly name: "";
        readonly type: "bool";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
};
export declare const pool: {
    readonly inputs: readonly [];
    readonly name: "pool";
    readonly outputs: readonly [{
        readonly internalType: "contract IonicComptroller";
        readonly name: "";
        readonly type: "address";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
};
export declare const positionOwner: {
    readonly inputs: readonly [];
    readonly name: "positionOwner";
    readonly outputs: readonly [{
        readonly internalType: "address";
        readonly name: "";
        readonly type: "address";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
};
export declare const receiveFlashLoan: {
    readonly inputs: readonly [{
        readonly internalType: "address";
        readonly name: "assetAddress";
        readonly type: "address";
    }, {
        readonly internalType: "uint256";
        readonly name: "borrowedAmount";
        readonly type: "uint256";
    }, {
        readonly internalType: "bytes";
        readonly name: "data";
        readonly type: "bytes";
    }];
    readonly name: "receiveFlashLoan";
    readonly outputs: readonly [];
    readonly stateMutability: "nonpayable";
    readonly type: "function";
};
export declare const stableAsset: {
    readonly inputs: readonly [];
    readonly name: "stableAsset";
    readonly outputs: readonly [{
        readonly internalType: "contract IERC20Upgradeable";
        readonly name: "";
        readonly type: "address";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
};
export declare const stableMarket: {
    readonly inputs: readonly [];
    readonly name: "stableMarket";
    readonly outputs: readonly [{
        readonly internalType: "contract ICErc20";
        readonly name: "";
        readonly type: "address";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
};
export declare const withdrawStableLeftovers: {
    readonly inputs: readonly [{
        readonly internalType: "address";
        readonly name: "withdrawTo";
        readonly type: "address";
    }];
    readonly name: "withdrawStableLeftovers";
    readonly outputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "";
        readonly type: "uint256";
    }];
    readonly stateMutability: "nonpayable";
    readonly type: "function";
};
declare const _default: readonly [{
    readonly inputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "errorCode";
        readonly type: "uint256";
    }];
    readonly name: "BorrowStableFailed";
    readonly type: "error";
}, {
    readonly inputs: readonly [];
    readonly name: "ConvertFundsFailed";
    readonly type: "error";
}, {
    readonly inputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "errorCode";
        readonly type: "uint256";
    }];
    readonly name: "ExitFailed";
    readonly type: "error";
}, {
    readonly inputs: readonly [{
        readonly internalType: "bytes4";
        readonly name: "_functionSelector";
        readonly type: "bytes4";
    }];
    readonly name: "ExtNotFound";
    readonly type: "error";
}, {
    readonly inputs: readonly [];
    readonly name: "NotPositionOwner";
    readonly type: "error";
}, {
    readonly inputs: readonly [];
    readonly name: "OnlyWhenClosed";
    readonly type: "error";
}, {
    readonly inputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "errorCode";
        readonly type: "uint256";
    }];
    readonly name: "RedeemCollateralFailed";
    readonly type: "error";
}, {
    readonly inputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "errorCode";
        readonly type: "uint256";
    }];
    readonly name: "RedeemFailed";
    readonly type: "error";
}, {
    readonly inputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "errorCode";
        readonly type: "uint256";
    }];
    readonly name: "RepayBorrowFailed";
    readonly type: "error";
}, {
    readonly inputs: readonly [{
        readonly internalType: "address";
        readonly name: "asset";
        readonly type: "address";
    }, {
        readonly internalType: "uint256";
        readonly name: "currentBalance";
        readonly type: "uint256";
    }, {
        readonly internalType: "uint256";
        readonly name: "repayAmount";
        readonly type: "uint256";
    }];
    readonly name: "RepayFlashLoanFailed";
    readonly type: "error";
}, {
    readonly inputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "errorCode";
        readonly type: "uint256";
    }];
    readonly name: "SupplyCollateralFailed";
    readonly type: "error";
}, {
    readonly inputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "targetRatioMantissa";
        readonly type: "uint256";
    }];
    readonly name: "adjustLeverageRatio";
    readonly outputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "";
        readonly type: "uint256";
    }];
    readonly stateMutability: "nonpayable";
    readonly type: "function";
}, {
    readonly inputs: readonly [];
    readonly name: "claimRewards";
    readonly outputs: readonly [];
    readonly stateMutability: "nonpayable";
    readonly type: "function";
}, {
    readonly inputs: readonly [{
        readonly internalType: "address";
        readonly name: "withdrawTo";
        readonly type: "address";
    }];
    readonly name: "claimRewards";
    readonly outputs: readonly [];
    readonly stateMutability: "nonpayable";
    readonly type: "function";
}, {
    readonly inputs: readonly [{
        readonly internalType: "address";
        readonly name: "withdrawTo";
        readonly type: "address";
    }];
    readonly name: "closePosition";
    readonly outputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "withdrawAmount";
        readonly type: "uint256";
    }];
    readonly stateMutability: "nonpayable";
    readonly type: "function";
}, {
    readonly inputs: readonly [];
    readonly name: "closePosition";
    readonly outputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "";
        readonly type: "uint256";
    }];
    readonly stateMutability: "nonpayable";
    readonly type: "function";
}, {
    readonly inputs: readonly [];
    readonly name: "collateralAsset";
    readonly outputs: readonly [{
        readonly internalType: "contract IERC20Upgradeable";
        readonly name: "";
        readonly type: "address";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
}, {
    readonly inputs: readonly [];
    readonly name: "collateralMarket";
    readonly outputs: readonly [{
        readonly internalType: "contract ICErc20";
        readonly name: "";
        readonly type: "address";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
}, {
    readonly inputs: readonly [];
    readonly name: "factory";
    readonly outputs: readonly [{
        readonly internalType: "contract ILeveredPositionFactory";
        readonly name: "";
        readonly type: "address";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
}, {
    readonly inputs: readonly [{
        readonly internalType: "contract IERC20Upgradeable";
        readonly name: "fundingAsset";
        readonly type: "address";
    }, {
        readonly internalType: "uint256";
        readonly name: "amount";
        readonly type: "uint256";
    }];
    readonly name: "fundPosition";
    readonly outputs: readonly [];
    readonly stateMutability: "nonpayable";
    readonly type: "function";
}, {
    readonly inputs: readonly [];
    readonly name: "getAccruedRewards";
    readonly outputs: readonly [{
        readonly internalType: "contract ERC20[]";
        readonly name: "rewardTokens";
        readonly type: "address[]";
    }, {
        readonly internalType: "uint256[]";
        readonly name: "amounts";
        readonly type: "uint256[]";
    }];
    readonly stateMutability: "nonpayable";
    readonly type: "function";
}, {
    readonly inputs: readonly [];
    readonly name: "getCurrentLeverageRatio";
    readonly outputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "";
        readonly type: "uint256";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
}, {
    readonly inputs: readonly [];
    readonly name: "getEquityAmount";
    readonly outputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "equityAmount";
        readonly type: "uint256";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
}, {
    readonly inputs: readonly [];
    readonly name: "getMaxLeverageRatio";
    readonly outputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "";
        readonly type: "uint256";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
}, {
    readonly inputs: readonly [];
    readonly name: "getMinLeverageRatio";
    readonly outputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "";
        readonly type: "uint256";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
}, {
    readonly inputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "targetRatio";
        readonly type: "uint256";
    }];
    readonly name: "getSupplyAmountDelta";
    readonly outputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "";
        readonly type: "uint256";
    }, {
        readonly internalType: "uint256";
        readonly name: "";
        readonly type: "uint256";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
}, {
    readonly inputs: readonly [];
    readonly name: "isPositionClosed";
    readonly outputs: readonly [{
        readonly internalType: "bool";
        readonly name: "";
        readonly type: "bool";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
}, {
    readonly inputs: readonly [];
    readonly name: "pool";
    readonly outputs: readonly [{
        readonly internalType: "contract IonicComptroller";
        readonly name: "";
        readonly type: "address";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
}, {
    readonly inputs: readonly [];
    readonly name: "positionOwner";
    readonly outputs: readonly [{
        readonly internalType: "address";
        readonly name: "";
        readonly type: "address";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
}, {
    readonly inputs: readonly [{
        readonly internalType: "address";
        readonly name: "assetAddress";
        readonly type: "address";
    }, {
        readonly internalType: "uint256";
        readonly name: "borrowedAmount";
        readonly type: "uint256";
    }, {
        readonly internalType: "bytes";
        readonly name: "data";
        readonly type: "bytes";
    }];
    readonly name: "receiveFlashLoan";
    readonly outputs: readonly [];
    readonly stateMutability: "nonpayable";
    readonly type: "function";
}, {
    readonly inputs: readonly [];
    readonly name: "stableAsset";
    readonly outputs: readonly [{
        readonly internalType: "contract IERC20Upgradeable";
        readonly name: "";
        readonly type: "address";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
}, {
    readonly inputs: readonly [];
    readonly name: "stableMarket";
    readonly outputs: readonly [{
        readonly internalType: "contract ICErc20";
        readonly name: "";
        readonly type: "address";
    }];
    readonly stateMutability: "view";
    readonly type: "function";
}, {
    readonly inputs: readonly [{
        readonly internalType: "address";
        readonly name: "withdrawTo";
        readonly type: "address";
    }];
    readonly name: "withdrawStableLeftovers";
    readonly outputs: readonly [{
        readonly internalType: "uint256";
        readonly name: "";
        readonly type: "uint256";
    }];
    readonly stateMutability: "nonpayable";
    readonly type: "function";
}];
export default _default;
