import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common";
import type { FunctionFragment, Result } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
export interface IVAIControllerInterface extends utils.Interface {
    functions: {
        "accrueVAIInterest()": FunctionFragment;
        "getVAIAddress()": FunctionFragment;
        "getVAIRepayAmount(address)": FunctionFragment;
        "liquidateVAI(address,uint256,address)": FunctionFragment;
        "repayVAIBehalf(address,uint256)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "accrueVAIInterest" | "getVAIAddress" | "getVAIRepayAmount" | "liquidateVAI" | "repayVAIBehalf"): FunctionFragment;
    encodeFunctionData(functionFragment: "accrueVAIInterest", values?: undefined): string;
    encodeFunctionData(functionFragment: "getVAIAddress", values?: undefined): string;
    encodeFunctionData(functionFragment: "getVAIRepayAmount", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "liquidateVAI", values: [
        PromiseOrValue<string>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<string>
    ]): string;
    encodeFunctionData(functionFragment: "repayVAIBehalf", values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
    decodeFunctionResult(functionFragment: "accrueVAIInterest", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getVAIAddress", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getVAIRepayAmount", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "liquidateVAI", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "repayVAIBehalf", data: BytesLike): Result;
    events: {};
}
export interface IVAIController extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: IVAIControllerInterface;
    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: {
        accrueVAIInterest(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        getVAIAddress(overrides?: CallOverrides): Promise<[string]>;
        getVAIRepayAmount(borrower: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber]>;
        liquidateVAI(borrower: PromiseOrValue<string>, repayAmount: PromiseOrValue<BigNumberish>, vTokenCollateral: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        repayVAIBehalf(borrower: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
    };
    accrueVAIInterest(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    getVAIAddress(overrides?: CallOverrides): Promise<string>;
    getVAIRepayAmount(borrower: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
    liquidateVAI(borrower: PromiseOrValue<string>, repayAmount: PromiseOrValue<BigNumberish>, vTokenCollateral: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    repayVAIBehalf(borrower: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    callStatic: {
        accrueVAIInterest(overrides?: CallOverrides): Promise<void>;
        getVAIAddress(overrides?: CallOverrides): Promise<string>;
        getVAIRepayAmount(borrower: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        liquidateVAI(borrower: PromiseOrValue<string>, repayAmount: PromiseOrValue<BigNumberish>, vTokenCollateral: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>;
        repayVAIBehalf(borrower: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>;
    };
    filters: {};
    estimateGas: {
        accrueVAIInterest(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        getVAIAddress(overrides?: CallOverrides): Promise<BigNumber>;
        getVAIRepayAmount(borrower: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        liquidateVAI(borrower: PromiseOrValue<string>, repayAmount: PromiseOrValue<BigNumberish>, vTokenCollateral: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        repayVAIBehalf(borrower: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
    };
    populateTransaction: {
        accrueVAIInterest(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        getVAIAddress(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getVAIRepayAmount(borrower: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        liquidateVAI(borrower: PromiseOrValue<string>, repayAmount: PromiseOrValue<BigNumberish>, vTokenCollateral: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        repayVAIBehalf(borrower: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
    };
}
