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 VAIControllerInterfaceInterface extends utils.Interface {
    functions: {
        "getMintableVAI(address)": FunctionFragment;
        "getVAIAddress()": FunctionFragment;
        "getVAIRepayAmount(address)": FunctionFragment;
        "liquidateVAI(address,uint256,address)": FunctionFragment;
        "mintVAI(uint256)": FunctionFragment;
        "repayVAI(uint256)": FunctionFragment;
        "repayVAIBehalf(address,uint256)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "getMintableVAI" | "getVAIAddress" | "getVAIRepayAmount" | "liquidateVAI" | "mintVAI" | "repayVAI" | "repayVAIBehalf"): FunctionFragment;
    encodeFunctionData(functionFragment: "getMintableVAI", values: [PromiseOrValue<string>]): 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: "mintVAI", values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "repayVAI", values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "repayVAIBehalf", values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
    decodeFunctionResult(functionFragment: "getMintableVAI", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getVAIAddress", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getVAIRepayAmount", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "liquidateVAI", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "mintVAI", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "repayVAI", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "repayVAIBehalf", data: BytesLike): Result;
    events: {};
}
export interface VAIControllerInterface extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: VAIControllerInterfaceInterface;
    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: {
        getMintableVAI(minter: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>;
        getVAIAddress(overrides?: CallOverrides): Promise<[string]>;
        getVAIRepayAmount(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber]>;
        liquidateVAI(borrower: PromiseOrValue<string>, repayAmount: PromiseOrValue<BigNumberish>, vTokenCollateral: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        mintVAI(mintVAIAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        repayVAI(amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        repayVAIBehalf(borrower: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
    };
    getMintableVAI(minter: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>;
    getVAIAddress(overrides?: CallOverrides): Promise<string>;
    getVAIRepayAmount(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
    liquidateVAI(borrower: PromiseOrValue<string>, repayAmount: PromiseOrValue<BigNumberish>, vTokenCollateral: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    mintVAI(mintVAIAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    repayVAI(amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    repayVAIBehalf(borrower: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    callStatic: {
        getMintableVAI(minter: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>;
        getVAIAddress(overrides?: CallOverrides): Promise<string>;
        getVAIRepayAmount(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        liquidateVAI(borrower: PromiseOrValue<string>, repayAmount: PromiseOrValue<BigNumberish>, vTokenCollateral: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>;
        mintVAI(mintVAIAmount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        repayVAI(amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>;
        repayVAIBehalf(borrower: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber, BigNumber]>;
    };
    filters: {};
    estimateGas: {
        getMintableVAI(minter: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        getVAIAddress(overrides?: CallOverrides): Promise<BigNumber>;
        getVAIRepayAmount(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        liquidateVAI(borrower: PromiseOrValue<string>, repayAmount: PromiseOrValue<BigNumberish>, vTokenCollateral: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        mintVAI(mintVAIAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        repayVAI(amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        repayVAIBehalf(borrower: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
    };
    populateTransaction: {
        getMintableVAI(minter: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getVAIAddress(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getVAIRepayAmount(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        liquidateVAI(borrower: PromiseOrValue<string>, repayAmount: PromiseOrValue<BigNumberish>, vTokenCollateral: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        mintVAI(mintVAIAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        repayVAI(amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        repayVAIBehalf(borrower: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
    };
}
