import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../../common";
export type HarvestSwapParmsStruct = {
    path: PromiseOrValue<string>[];
    min: PromiseOrValue<BigNumberish>;
    deadline: PromiseOrValue<BigNumberish>;
};
export type HarvestSwapParmsStructOutput = [string[], BigNumber, BigNumber] & {
    path: string[];
    min: BigNumber;
    deadline: BigNumber;
};
export interface IMXInterface extends utils.Interface {
    functions: {
        "BASE_UNIT()": FunctionFragment;
        "balanceOfUnderlying(address)": FunctionFragment;
        "balanceOfUnderlying()": FunctionFragment;
        "closePosition()": FunctionFragment;
        "decimals()": FunctionFragment;
        "emergencyWithdraw(address,address[])": FunctionFragment;
        "getMaxTvl()": FunctionFragment;
        "getPositionOffset()": FunctionFragment;
        "getPricePerShare()": FunctionFragment;
        "getTVL()": FunctionFragment;
        "getTotalTVL()": FunctionFragment;
        "getUnderlyingShortReserves()": FunctionFragment;
        "harvest((address[],uint256,uint256)[],(address[],uint256,uint256)[])": FunctionFragment;
        "isCEther()": FunctionFragment;
        "isGuardian(address)": FunctionFragment;
        "isInitialized()": FunctionFragment;
        "isManager(address)": FunctionFragment;
        "lastHarvest()": FunctionFragment;
        "maxPriceMismatch()": FunctionFragment;
        "minLoanHealth()": FunctionFragment;
        "mint(uint256)": FunctionFragment;
        "name()": FunctionFragment;
        "owner()": FunctionFragment;
        "pair()": FunctionFragment;
        "rebalance()": FunctionFragment;
        "rebalanceThreshold()": FunctionFragment;
        "redeemUnderlying(uint256)": FunctionFragment;
        "renounceOwnership()": FunctionFragment;
        "safeCollateralRatio()": FunctionFragment;
        "safetyMarginSqrt()": FunctionFragment;
        "setGuardian(address,bool)": FunctionFragment;
        "setManager(address,bool)": FunctionFragment;
        "setMaxPriceMismatch(uint256)": FunctionFragment;
        "setMaxTvl(uint256)": FunctionFragment;
        "setMinLoanHeath(uint256)": FunctionFragment;
        "setRebalanceThreshold(uint16)": FunctionFragment;
        "setSafeCollateralRatio(uint256)": FunctionFragment;
        "setVault(address)": FunctionFragment;
        "short()": FunctionFragment;
        "symbol()": FunctionFragment;
        "totalSupply()": FunctionFragment;
        "transferOwnership(address)": FunctionFragment;
        "underlying()": FunctionFragment;
        "vault()": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "BASE_UNIT" | "balanceOfUnderlying(address)" | "balanceOfUnderlying()" | "closePosition" | "decimals" | "emergencyWithdraw" | "getMaxTvl" | "getPositionOffset" | "getPricePerShare" | "getTVL" | "getTotalTVL" | "getUnderlyingShortReserves" | "harvest" | "isCEther" | "isGuardian" | "isInitialized" | "isManager" | "lastHarvest" | "maxPriceMismatch" | "minLoanHealth" | "mint" | "name" | "owner" | "pair" | "rebalance" | "rebalanceThreshold" | "redeemUnderlying" | "renounceOwnership" | "safeCollateralRatio" | "safetyMarginSqrt" | "setGuardian" | "setManager" | "setMaxPriceMismatch" | "setMaxTvl" | "setMinLoanHeath" | "setRebalanceThreshold" | "setSafeCollateralRatio" | "setVault" | "short" | "symbol" | "totalSupply" | "transferOwnership" | "underlying" | "vault"): FunctionFragment;
    encodeFunctionData(functionFragment: "BASE_UNIT", values?: undefined): string;
    encodeFunctionData(functionFragment: "balanceOfUnderlying(address)", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "balanceOfUnderlying()", values?: undefined): string;
    encodeFunctionData(functionFragment: "closePosition", values?: undefined): string;
    encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
    encodeFunctionData(functionFragment: "emergencyWithdraw", values: [PromiseOrValue<string>, PromiseOrValue<string>[]]): string;
    encodeFunctionData(functionFragment: "getMaxTvl", values?: undefined): string;
    encodeFunctionData(functionFragment: "getPositionOffset", values?: undefined): string;
    encodeFunctionData(functionFragment: "getPricePerShare", values?: undefined): string;
    encodeFunctionData(functionFragment: "getTVL", values?: undefined): string;
    encodeFunctionData(functionFragment: "getTotalTVL", values?: undefined): string;
    encodeFunctionData(functionFragment: "getUnderlyingShortReserves", values?: undefined): string;
    encodeFunctionData(functionFragment: "harvest", values: [HarvestSwapParmsStruct[], HarvestSwapParmsStruct[]]): string;
    encodeFunctionData(functionFragment: "isCEther", values?: undefined): string;
    encodeFunctionData(functionFragment: "isGuardian", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "isInitialized", values?: undefined): string;
    encodeFunctionData(functionFragment: "isManager", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "lastHarvest", values?: undefined): string;
    encodeFunctionData(functionFragment: "maxPriceMismatch", values?: undefined): string;
    encodeFunctionData(functionFragment: "minLoanHealth", values?: undefined): string;
    encodeFunctionData(functionFragment: "mint", values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "name", values?: undefined): string;
    encodeFunctionData(functionFragment: "owner", values?: undefined): string;
    encodeFunctionData(functionFragment: "pair", values?: undefined): string;
    encodeFunctionData(functionFragment: "rebalance", values?: undefined): string;
    encodeFunctionData(functionFragment: "rebalanceThreshold", values?: undefined): string;
    encodeFunctionData(functionFragment: "redeemUnderlying", values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
    encodeFunctionData(functionFragment: "safeCollateralRatio", values?: undefined): string;
    encodeFunctionData(functionFragment: "safetyMarginSqrt", values?: undefined): string;
    encodeFunctionData(functionFragment: "setGuardian", values: [PromiseOrValue<string>, PromiseOrValue<boolean>]): string;
    encodeFunctionData(functionFragment: "setManager", values: [PromiseOrValue<string>, PromiseOrValue<boolean>]): string;
    encodeFunctionData(functionFragment: "setMaxPriceMismatch", values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "setMaxTvl", values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "setMinLoanHeath", values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "setRebalanceThreshold", values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "setSafeCollateralRatio", values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "setVault", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "short", values?: undefined): string;
    encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
    encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
    encodeFunctionData(functionFragment: "transferOwnership", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "underlying", values?: undefined): string;
    encodeFunctionData(functionFragment: "vault", values?: undefined): string;
    decodeFunctionResult(functionFragment: "BASE_UNIT", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "balanceOfUnderlying(address)", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "balanceOfUnderlying()", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "closePosition", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "emergencyWithdraw", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getMaxTvl", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getPositionOffset", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getPricePerShare", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getTVL", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getTotalTVL", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getUnderlyingShortReserves", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "harvest", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "isCEther", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "isGuardian", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "isInitialized", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "isManager", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "lastHarvest", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "maxPriceMismatch", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "minLoanHealth", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "pair", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "rebalance", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "rebalanceThreshold", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "redeemUnderlying", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "safeCollateralRatio", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "safetyMarginSqrt", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setGuardian", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setManager", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setMaxPriceMismatch", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setMaxTvl", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setMinLoanHeath", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setRebalanceThreshold", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setSafeCollateralRatio", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setVault", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "short", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "underlying", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "vault", data: BytesLike): Result;
    events: {
        "Deposit(address,uint256)": EventFragment;
        "EmergencyWithdraw(address,address[])": EventFragment;
        "GuardianUpdate(address,bool)": EventFragment;
        "Harvest(uint256)": EventFragment;
        "HarvestedToken(address,uint256)": EventFragment;
        "ManagerUpdate(address,bool)": EventFragment;
        "OwnershipTransferred(address,address)": EventFragment;
        "Rebalance(uint256,uint256,uint256)": EventFragment;
        "RebalanceLoan(address,uint256,uint256)": EventFragment;
        "SetMaxPriceMismatch(uint256)": EventFragment;
        "SetMaxTvl(uint256)": EventFragment;
        "SetRebalanceThreshold(uint256)": EventFragment;
        "SetSafeCollateralRaio(uint256)": EventFragment;
        "UpdatePosition()": EventFragment;
        "VaultUpdate(address)": EventFragment;
        "Withdraw(address,uint256)": EventFragment;
        "setMinLoanHealth(uint256)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "Deposit"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "EmergencyWithdraw"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "GuardianUpdate"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "Harvest"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "HarvestedToken"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "ManagerUpdate"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "Rebalance"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "RebalanceLoan"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "SetMaxPriceMismatch"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "SetMaxTvl"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "SetRebalanceThreshold"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "SetSafeCollateralRaio"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "UpdatePosition"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "VaultUpdate"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "Withdraw"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "setMinLoanHealth"): EventFragment;
}
export interface DepositEventObject {
    sender: string;
    amount: BigNumber;
}
export type DepositEvent = TypedEvent<[string, BigNumber], DepositEventObject>;
export type DepositEventFilter = TypedEventFilter<DepositEvent>;
export interface EmergencyWithdrawEventObject {
    recipient: string;
    tokens: string[];
}
export type EmergencyWithdrawEvent = TypedEvent<[
    string,
    string[]
], EmergencyWithdrawEventObject>;
export type EmergencyWithdrawEventFilter = TypedEventFilter<EmergencyWithdrawEvent>;
export interface GuardianUpdateEventObject {
    account: string;
    isGuardian: boolean;
}
export type GuardianUpdateEvent = TypedEvent<[
    string,
    boolean
], GuardianUpdateEventObject>;
export type GuardianUpdateEventFilter = TypedEventFilter<GuardianUpdateEvent>;
export interface HarvestEventObject {
    harvested: BigNumber;
}
export type HarvestEvent = TypedEvent<[BigNumber], HarvestEventObject>;
export type HarvestEventFilter = TypedEventFilter<HarvestEvent>;
export interface HarvestedTokenEventObject {
    token: string;
    amount: BigNumber;
}
export type HarvestedTokenEvent = TypedEvent<[
    string,
    BigNumber
], HarvestedTokenEventObject>;
export type HarvestedTokenEventFilter = TypedEventFilter<HarvestedTokenEvent>;
export interface ManagerUpdateEventObject {
    account: string;
    isManager: boolean;
}
export type ManagerUpdateEvent = TypedEvent<[
    string,
    boolean
], ManagerUpdateEventObject>;
export type ManagerUpdateEventFilter = TypedEventFilter<ManagerUpdateEvent>;
export interface OwnershipTransferredEventObject {
    previousOwner: string;
    newOwner: string;
}
export type OwnershipTransferredEvent = TypedEvent<[
    string,
    string
], OwnershipTransferredEventObject>;
export type OwnershipTransferredEventFilter = TypedEventFilter<OwnershipTransferredEvent>;
export interface RebalanceEventObject {
    shortPrice: BigNumber;
    tvlBeforeRebalance: BigNumber;
    positionOffset: BigNumber;
}
export type RebalanceEvent = TypedEvent<[
    BigNumber,
    BigNumber,
    BigNumber
], RebalanceEventObject>;
export type RebalanceEventFilter = TypedEventFilter<RebalanceEvent>;
export interface RebalanceLoanEventObject {
    sender: string;
    startLoanHealth: BigNumber;
    updatedLoanHealth: BigNumber;
}
export type RebalanceLoanEvent = TypedEvent<[
    string,
    BigNumber,
    BigNumber
], RebalanceLoanEventObject>;
export type RebalanceLoanEventFilter = TypedEventFilter<RebalanceLoanEvent>;
export interface SetMaxPriceMismatchEventObject {
    loanHealth: BigNumber;
}
export type SetMaxPriceMismatchEvent = TypedEvent<[
    BigNumber
], SetMaxPriceMismatchEventObject>;
export type SetMaxPriceMismatchEventFilter = TypedEventFilter<SetMaxPriceMismatchEvent>;
export interface SetMaxTvlEventObject {
    loanHealth: BigNumber;
}
export type SetMaxTvlEvent = TypedEvent<[BigNumber], SetMaxTvlEventObject>;
export type SetMaxTvlEventFilter = TypedEventFilter<SetMaxTvlEvent>;
export interface SetRebalanceThresholdEventObject {
    loanHealth: BigNumber;
}
export type SetRebalanceThresholdEvent = TypedEvent<[
    BigNumber
], SetRebalanceThresholdEventObject>;
export type SetRebalanceThresholdEventFilter = TypedEventFilter<SetRebalanceThresholdEvent>;
export interface SetSafeCollateralRaioEventObject {
    collateralRatio: BigNumber;
}
export type SetSafeCollateralRaioEvent = TypedEvent<[
    BigNumber
], SetSafeCollateralRaioEventObject>;
export type SetSafeCollateralRaioEventFilter = TypedEventFilter<SetSafeCollateralRaioEvent>;
export interface UpdatePositionEventObject {
}
export type UpdatePositionEvent = TypedEvent<[], UpdatePositionEventObject>;
export type UpdatePositionEventFilter = TypedEventFilter<UpdatePositionEvent>;
export interface VaultUpdateEventObject {
    vault: string;
}
export type VaultUpdateEvent = TypedEvent<[string], VaultUpdateEventObject>;
export type VaultUpdateEventFilter = TypedEventFilter<VaultUpdateEvent>;
export interface WithdrawEventObject {
    sender: string;
    amount: BigNumber;
}
export type WithdrawEvent = TypedEvent<[
    string,
    BigNumber
], WithdrawEventObject>;
export type WithdrawEventFilter = TypedEventFilter<WithdrawEvent>;
export interface setMinLoanHealthEventObject {
    loanHealth: BigNumber;
}
export type setMinLoanHealthEvent = TypedEvent<[
    BigNumber
], setMinLoanHealthEventObject>;
export type setMinLoanHealthEventFilter = TypedEventFilter<setMinLoanHealthEvent>;
export interface IMX extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: IMXInterface;
    queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
    listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
    listeners(eventName?: string): Array<Listener>;
    removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
    removeAllListeners(eventName?: string): this;
    off: OnEvent<this>;
    on: OnEvent<this>;
    once: OnEvent<this>;
    removeListener: OnEvent<this>;
    functions: {
        BASE_UNIT(overrides?: CallOverrides): Promise<[BigNumber]>;
        "balanceOfUnderlying(address)"(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber]>;
        "balanceOfUnderlying()"(overrides?: CallOverrides): Promise<[BigNumber]>;
        closePosition(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        decimals(overrides?: CallOverrides): Promise<[number]>;
        emergencyWithdraw(recipient: PromiseOrValue<string>, tokens: PromiseOrValue<string>[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        getMaxTvl(overrides?: CallOverrides): Promise<[BigNumber]>;
        getPositionOffset(overrides?: CallOverrides): Promise<[BigNumber] & {
            positionOffset: BigNumber;
        }>;
        getPricePerShare(overrides?: CallOverrides): Promise<[BigNumber]>;
        getTVL(overrides?: CallOverrides): Promise<[
            BigNumber,
            BigNumber,
            BigNumber,
            BigNumber,
            BigNumber,
            BigNumber
        ] & {
            tvl: BigNumber;
            collateralBalance: BigNumber;
            borrowPosition: BigNumber;
            borrowBalance: BigNumber;
            lpBalance: BigNumber;
            underlyingBalance: BigNumber;
        }>;
        getTotalTVL(overrides?: CallOverrides): Promise<[BigNumber] & {
            tvl: BigNumber;
        }>;
        getUnderlyingShortReserves(overrides?: CallOverrides): Promise<[
            BigNumber,
            BigNumber
        ] & {
            reserveA: BigNumber;
            reserveB: BigNumber;
        }>;
        harvest(uniParams: HarvestSwapParmsStruct[], lendingParams: HarvestSwapParmsStruct[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        isCEther(overrides?: CallOverrides): Promise<[boolean]>;
        isGuardian(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean]>;
        isInitialized(overrides?: CallOverrides): Promise<[boolean]>;
        isManager(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean]>;
        lastHarvest(overrides?: CallOverrides): Promise<[BigNumber]>;
        maxPriceMismatch(overrides?: CallOverrides): Promise<[BigNumber]>;
        minLoanHealth(overrides?: CallOverrides): Promise<[BigNumber]>;
        mint(amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        name(overrides?: CallOverrides): Promise<[string]>;
        owner(overrides?: CallOverrides): Promise<[string]>;
        pair(overrides?: CallOverrides): Promise<[string]>;
        rebalance(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        rebalanceThreshold(overrides?: CallOverrides): Promise<[number]>;
        redeemUnderlying(amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        renounceOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        safeCollateralRatio(overrides?: CallOverrides): Promise<[BigNumber]>;
        safetyMarginSqrt(overrides?: CallOverrides): Promise<[BigNumber]>;
        setGuardian(user: PromiseOrValue<string>, _isGuardian: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        setManager(user: PromiseOrValue<string>, _isManager: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        setMaxPriceMismatch(maxPriceMismatch_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        setMaxTvl(maxTvl_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        setMinLoanHeath(minLoanHealth_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        setRebalanceThreshold(rebalanceThreshold_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        setSafeCollateralRatio(safeCollateralRatio_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        setVault(vault_: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        short(overrides?: CallOverrides): Promise<[string]>;
        symbol(overrides?: CallOverrides): Promise<[string]>;
        totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        underlying(overrides?: CallOverrides): Promise<[string]>;
        vault(overrides?: CallOverrides): Promise<[string]>;
    };
    BASE_UNIT(overrides?: CallOverrides): Promise<BigNumber>;
    "balanceOfUnderlying(address)"(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
    "balanceOfUnderlying()"(overrides?: CallOverrides): Promise<BigNumber>;
    closePosition(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    decimals(overrides?: CallOverrides): Promise<number>;
    emergencyWithdraw(recipient: PromiseOrValue<string>, tokens: PromiseOrValue<string>[], overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    getMaxTvl(overrides?: CallOverrides): Promise<BigNumber>;
    getPositionOffset(overrides?: CallOverrides): Promise<BigNumber>;
    getPricePerShare(overrides?: CallOverrides): Promise<BigNumber>;
    getTVL(overrides?: CallOverrides): Promise<[
        BigNumber,
        BigNumber,
        BigNumber,
        BigNumber,
        BigNumber,
        BigNumber
    ] & {
        tvl: BigNumber;
        collateralBalance: BigNumber;
        borrowPosition: BigNumber;
        borrowBalance: BigNumber;
        lpBalance: BigNumber;
        underlyingBalance: BigNumber;
    }>;
    getTotalTVL(overrides?: CallOverrides): Promise<BigNumber>;
    getUnderlyingShortReserves(overrides?: CallOverrides): Promise<[
        BigNumber,
        BigNumber
    ] & {
        reserveA: BigNumber;
        reserveB: BigNumber;
    }>;
    harvest(uniParams: HarvestSwapParmsStruct[], lendingParams: HarvestSwapParmsStruct[], overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    isCEther(overrides?: CallOverrides): Promise<boolean>;
    isGuardian(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
    isInitialized(overrides?: CallOverrides): Promise<boolean>;
    isManager(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
    lastHarvest(overrides?: CallOverrides): Promise<BigNumber>;
    maxPriceMismatch(overrides?: CallOverrides): Promise<BigNumber>;
    minLoanHealth(overrides?: CallOverrides): Promise<BigNumber>;
    mint(amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    name(overrides?: CallOverrides): Promise<string>;
    owner(overrides?: CallOverrides): Promise<string>;
    pair(overrides?: CallOverrides): Promise<string>;
    rebalance(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    rebalanceThreshold(overrides?: CallOverrides): Promise<number>;
    redeemUnderlying(amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    renounceOwnership(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    safeCollateralRatio(overrides?: CallOverrides): Promise<BigNumber>;
    safetyMarginSqrt(overrides?: CallOverrides): Promise<BigNumber>;
    setGuardian(user: PromiseOrValue<string>, _isGuardian: PromiseOrValue<boolean>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    setManager(user: PromiseOrValue<string>, _isManager: PromiseOrValue<boolean>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    setMaxPriceMismatch(maxPriceMismatch_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    setMaxTvl(maxTvl_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    setMinLoanHeath(minLoanHealth_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    setRebalanceThreshold(rebalanceThreshold_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    setSafeCollateralRatio(safeCollateralRatio_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    setVault(vault_: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    short(overrides?: CallOverrides): Promise<string>;
    symbol(overrides?: CallOverrides): Promise<string>;
    totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
    transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    underlying(overrides?: CallOverrides): Promise<string>;
    vault(overrides?: CallOverrides): Promise<string>;
    callStatic: {
        BASE_UNIT(overrides?: CallOverrides): Promise<BigNumber>;
        "balanceOfUnderlying(address)"(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        "balanceOfUnderlying()"(overrides?: CallOverrides): Promise<BigNumber>;
        closePosition(overrides?: CallOverrides): Promise<BigNumber>;
        decimals(overrides?: CallOverrides): Promise<number>;
        emergencyWithdraw(recipient: PromiseOrValue<string>, tokens: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<void>;
        getMaxTvl(overrides?: CallOverrides): Promise<BigNumber>;
        getPositionOffset(overrides?: CallOverrides): Promise<BigNumber>;
        getPricePerShare(overrides?: CallOverrides): Promise<BigNumber>;
        getTVL(overrides?: CallOverrides): Promise<[
            BigNumber,
            BigNumber,
            BigNumber,
            BigNumber,
            BigNumber,
            BigNumber
        ] & {
            tvl: BigNumber;
            collateralBalance: BigNumber;
            borrowPosition: BigNumber;
            borrowBalance: BigNumber;
            lpBalance: BigNumber;
            underlyingBalance: BigNumber;
        }>;
        getTotalTVL(overrides?: CallOverrides): Promise<BigNumber>;
        getUnderlyingShortReserves(overrides?: CallOverrides): Promise<[
            BigNumber,
            BigNumber
        ] & {
            reserveA: BigNumber;
            reserveB: BigNumber;
        }>;
        harvest(uniParams: HarvestSwapParmsStruct[], lendingParams: HarvestSwapParmsStruct[], overrides?: CallOverrides): Promise<[
            BigNumber[],
            BigNumber[]
        ] & {
            farmHarvest: BigNumber[];
            lendHarvest: BigNumber[];
        }>;
        isCEther(overrides?: CallOverrides): Promise<boolean>;
        isGuardian(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
        isInitialized(overrides?: CallOverrides): Promise<boolean>;
        isManager(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
        lastHarvest(overrides?: CallOverrides): Promise<BigNumber>;
        maxPriceMismatch(overrides?: CallOverrides): Promise<BigNumber>;
        minLoanHealth(overrides?: CallOverrides): Promise<BigNumber>;
        mint(amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        name(overrides?: CallOverrides): Promise<string>;
        owner(overrides?: CallOverrides): Promise<string>;
        pair(overrides?: CallOverrides): Promise<string>;
        rebalance(overrides?: CallOverrides): Promise<void>;
        rebalanceThreshold(overrides?: CallOverrides): Promise<number>;
        redeemUnderlying(amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        renounceOwnership(overrides?: CallOverrides): Promise<void>;
        safeCollateralRatio(overrides?: CallOverrides): Promise<BigNumber>;
        safetyMarginSqrt(overrides?: CallOverrides): Promise<BigNumber>;
        setGuardian(user: PromiseOrValue<string>, _isGuardian: PromiseOrValue<boolean>, overrides?: CallOverrides): Promise<void>;
        setManager(user: PromiseOrValue<string>, _isManager: PromiseOrValue<boolean>, overrides?: CallOverrides): Promise<void>;
        setMaxPriceMismatch(maxPriceMismatch_: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        setMaxTvl(maxTvl_: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        setMinLoanHeath(minLoanHealth_: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        setRebalanceThreshold(rebalanceThreshold_: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        setSafeCollateralRatio(safeCollateralRatio_: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        setVault(vault_: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        short(overrides?: CallOverrides): Promise<string>;
        symbol(overrides?: CallOverrides): Promise<string>;
        totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        underlying(overrides?: CallOverrides): Promise<string>;
        vault(overrides?: CallOverrides): Promise<string>;
    };
    filters: {
        "Deposit(address,uint256)"(sender?: null, amount?: null): DepositEventFilter;
        Deposit(sender?: null, amount?: null): DepositEventFilter;
        "EmergencyWithdraw(address,address[])"(recipient?: PromiseOrValue<string> | null, tokens?: null): EmergencyWithdrawEventFilter;
        EmergencyWithdraw(recipient?: PromiseOrValue<string> | null, tokens?: null): EmergencyWithdrawEventFilter;
        "GuardianUpdate(address,bool)"(account?: PromiseOrValue<string> | null, isGuardian?: null): GuardianUpdateEventFilter;
        GuardianUpdate(account?: PromiseOrValue<string> | null, isGuardian?: null): GuardianUpdateEventFilter;
        "Harvest(uint256)"(harvested?: null): HarvestEventFilter;
        Harvest(harvested?: null): HarvestEventFilter;
        "HarvestedToken(address,uint256)"(token?: PromiseOrValue<string> | null, amount?: null): HarvestedTokenEventFilter;
        HarvestedToken(token?: PromiseOrValue<string> | null, amount?: null): HarvestedTokenEventFilter;
        "ManagerUpdate(address,bool)"(account?: PromiseOrValue<string> | null, isManager?: null): ManagerUpdateEventFilter;
        ManagerUpdate(account?: PromiseOrValue<string> | null, isManager?: null): ManagerUpdateEventFilter;
        "OwnershipTransferred(address,address)"(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
        OwnershipTransferred(previousOwner?: PromiseOrValue<string> | null, newOwner?: PromiseOrValue<string> | null): OwnershipTransferredEventFilter;
        "Rebalance(uint256,uint256,uint256)"(shortPrice?: null, tvlBeforeRebalance?: null, positionOffset?: null): RebalanceEventFilter;
        Rebalance(shortPrice?: null, tvlBeforeRebalance?: null, positionOffset?: null): RebalanceEventFilter;
        "RebalanceLoan(address,uint256,uint256)"(sender?: PromiseOrValue<string> | null, startLoanHealth?: null, updatedLoanHealth?: null): RebalanceLoanEventFilter;
        RebalanceLoan(sender?: PromiseOrValue<string> | null, startLoanHealth?: null, updatedLoanHealth?: null): RebalanceLoanEventFilter;
        "SetMaxPriceMismatch(uint256)"(loanHealth?: null): SetMaxPriceMismatchEventFilter;
        SetMaxPriceMismatch(loanHealth?: null): SetMaxPriceMismatchEventFilter;
        "SetMaxTvl(uint256)"(loanHealth?: null): SetMaxTvlEventFilter;
        SetMaxTvl(loanHealth?: null): SetMaxTvlEventFilter;
        "SetRebalanceThreshold(uint256)"(loanHealth?: null): SetRebalanceThresholdEventFilter;
        SetRebalanceThreshold(loanHealth?: null): SetRebalanceThresholdEventFilter;
        "SetSafeCollateralRaio(uint256)"(collateralRatio?: null): SetSafeCollateralRaioEventFilter;
        SetSafeCollateralRaio(collateralRatio?: null): SetSafeCollateralRaioEventFilter;
        "UpdatePosition()"(): UpdatePositionEventFilter;
        UpdatePosition(): UpdatePositionEventFilter;
        "VaultUpdate(address)"(vault?: PromiseOrValue<string> | null): VaultUpdateEventFilter;
        VaultUpdate(vault?: PromiseOrValue<string> | null): VaultUpdateEventFilter;
        "Withdraw(address,uint256)"(sender?: null, amount?: null): WithdrawEventFilter;
        Withdraw(sender?: null, amount?: null): WithdrawEventFilter;
        "setMinLoanHealth(uint256)"(loanHealth?: null): setMinLoanHealthEventFilter;
        setMinLoanHealth(loanHealth?: null): setMinLoanHealthEventFilter;
    };
    estimateGas: {
        BASE_UNIT(overrides?: CallOverrides): Promise<BigNumber>;
        "balanceOfUnderlying(address)"(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        "balanceOfUnderlying()"(overrides?: CallOverrides): Promise<BigNumber>;
        closePosition(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        decimals(overrides?: CallOverrides): Promise<BigNumber>;
        emergencyWithdraw(recipient: PromiseOrValue<string>, tokens: PromiseOrValue<string>[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        getMaxTvl(overrides?: CallOverrides): Promise<BigNumber>;
        getPositionOffset(overrides?: CallOverrides): Promise<BigNumber>;
        getPricePerShare(overrides?: CallOverrides): Promise<BigNumber>;
        getTVL(overrides?: CallOverrides): Promise<BigNumber>;
        getTotalTVL(overrides?: CallOverrides): Promise<BigNumber>;
        getUnderlyingShortReserves(overrides?: CallOverrides): Promise<BigNumber>;
        harvest(uniParams: HarvestSwapParmsStruct[], lendingParams: HarvestSwapParmsStruct[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        isCEther(overrides?: CallOverrides): Promise<BigNumber>;
        isGuardian(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        isInitialized(overrides?: CallOverrides): Promise<BigNumber>;
        isManager(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        lastHarvest(overrides?: CallOverrides): Promise<BigNumber>;
        maxPriceMismatch(overrides?: CallOverrides): Promise<BigNumber>;
        minLoanHealth(overrides?: CallOverrides): Promise<BigNumber>;
        mint(amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        name(overrides?: CallOverrides): Promise<BigNumber>;
        owner(overrides?: CallOverrides): Promise<BigNumber>;
        pair(overrides?: CallOverrides): Promise<BigNumber>;
        rebalance(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        rebalanceThreshold(overrides?: CallOverrides): Promise<BigNumber>;
        redeemUnderlying(amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        renounceOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        safeCollateralRatio(overrides?: CallOverrides): Promise<BigNumber>;
        safetyMarginSqrt(overrides?: CallOverrides): Promise<BigNumber>;
        setGuardian(user: PromiseOrValue<string>, _isGuardian: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        setManager(user: PromiseOrValue<string>, _isManager: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        setMaxPriceMismatch(maxPriceMismatch_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        setMaxTvl(maxTvl_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        setMinLoanHeath(minLoanHealth_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        setRebalanceThreshold(rebalanceThreshold_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        setSafeCollateralRatio(safeCollateralRatio_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        setVault(vault_: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        short(overrides?: CallOverrides): Promise<BigNumber>;
        symbol(overrides?: CallOverrides): Promise<BigNumber>;
        totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        underlying(overrides?: CallOverrides): Promise<BigNumber>;
        vault(overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        BASE_UNIT(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        "balanceOfUnderlying(address)"(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        "balanceOfUnderlying()"(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        closePosition(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        decimals(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        emergencyWithdraw(recipient: PromiseOrValue<string>, tokens: PromiseOrValue<string>[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        getMaxTvl(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getPositionOffset(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getPricePerShare(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getTVL(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getTotalTVL(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getUnderlyingShortReserves(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        harvest(uniParams: HarvestSwapParmsStruct[], lendingParams: HarvestSwapParmsStruct[], overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        isCEther(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        isGuardian(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        isInitialized(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        isManager(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        lastHarvest(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        maxPriceMismatch(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        minLoanHealth(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        mint(amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        name(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        pair(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        rebalance(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        rebalanceThreshold(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        redeemUnderlying(amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        renounceOwnership(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        safeCollateralRatio(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        safetyMarginSqrt(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        setGuardian(user: PromiseOrValue<string>, _isGuardian: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        setManager(user: PromiseOrValue<string>, _isManager: PromiseOrValue<boolean>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        setMaxPriceMismatch(maxPriceMismatch_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        setMaxTvl(maxTvl_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        setMinLoanHeath(minLoanHealth_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        setRebalanceThreshold(rebalanceThreshold_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        setSafeCollateralRatio(safeCollateralRatio_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        setVault(vault_: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        short(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        symbol(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        totalSupply(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        underlying(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        vault(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
